Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.0009247, allocations: 95.89 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000987/0.0009869, allocations: 175.2 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3339/0.3339, allocations: 43.54 MB / 314.5 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005039, allocations: 16 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1196, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002171/0.1218, allocations: 1.307 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006216/0.1225, allocations: 287.9 kB / 444.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.1226, allocations: 0 / 444.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.1231, allocations: 443.2 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1234, allocations: 235.5 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1239, allocations: 143.7 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.1241, allocations: 123.7 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.1242, allocations: 12.17 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1244, allocations: 103.8 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1246, allocations: 143.7 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1246, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.1247, allocations: 23.92 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.686e-05/0.1249, allocations: 79.75 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.1249, allocations: 69.45 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1252, allocations: 195.9 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1252, allocations: 0 / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1252, allocations: 4 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1252, allocations: 3.938 kB / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007451/0.1259, allocations: 0.591 MB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.126, allocations: 15.95 kB / 446.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.1261, allocations: 43.39 kB / 446.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1263, allocations: 275.3 kB / 446.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1264, allocations: 4 kB / 446.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1264, allocations: 8 kB / 446.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1266, allocations: 57.66 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1266, allocations: 4 kB / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1266, allocations: 4 kB / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1266, allocations: 0 / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1267, allocations: 39.92 kB / 446.9 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.1272, allocations: 400.6 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1274, allocations: 46.56 kB / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1274, allocations: 0 / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1275, allocations: 38.56 kB / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1275, allocations: 0 / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006029/0.1281, allocations: 256 kB / 447.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1281, allocations: 51.41 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.1289, allocations: 0.8652 MB / 448.6 MB, free: 7.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1289, allocations: 25.7 kB / 448.6 MB, free: 7.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1291, allocations: 228.1 kB / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1291, allocations: 15.66 kB / 448.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.1291, allocations: 4 kB / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1292, allocations: 362.8 kB / 449.2 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.1293, allocations: 31.92 kB / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.1294, allocations: 23.98 kB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.1295, allocations: 27.98 kB / 449.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1295, allocations: 0 / 449.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002122/0.1297, allocations: 129.2 kB / 449.4 MB, free: 6.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1297, allocations: 7.953 kB / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1297, allocations: 0 / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1297, allocations: 4 kB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.1298, allocations: 15.98 kB / 449.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1298, allocations: 0 / 449.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.1299, allocations: 8 kB / 449.4 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1299, allocations: 7.922 kB / 449.4 MB, free: 6.148 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.1301, allocations: 221.7 kB / 449.6 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1302, allocations: 39.44 kB / 449.7 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.1305, allocations: 153 kB / 449.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1305, allocations: 4 kB / 449.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1305, allocations: 0 / 449.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1305, allocations: 3.938 kB / 449.8 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.131, allocations: 482.8 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1311, allocations: 4 kB / 450.3 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.1311, allocations: 19.94 kB / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1311, allocations: 0 / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1311, allocations: 0 / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1312, allocations: 0 / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1312, allocations: 4 kB / 450.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1314, allocations: 223 kB / 450.6 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.1315, allocations: 116.5 kB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1316, allocations: 7.953 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.1317, allocations: 7.984 kB / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1317, allocations: 4 kB / 450.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1317, allocations: 4 kB / 450.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005506/0.1323, allocations: 0.655 MB / 451.4 MB, free: 4.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1323, allocations: 0 / 451.4 MB, free: 4.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1325, allocations: 27.98 kB / 451.4 MB, free: 4.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007906/0.1333, allocations: 402 kB / 451.8 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.1336, allocations: 59.95 kB / 451.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1336, allocations: 0 / 451.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.1336, allocations: 39.92 kB / 451.9 MB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1339, allocations: 18.3 kB / 451.9 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.1349, allocations: 0.8334 MB / 452.7 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1353, allocations: 0.834 MB / 453.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.1353, allocations: 11.98 kB / 453.6 MB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1354, allocations: 15.42 kB / 453.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1354, allocations: 0 / 453.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of Templates: time 0.003949/0.1393, allocations: 1.389 MB / 455 MB, free: 484 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches