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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001364, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009984/0.0009989, allocations: 94.28 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3157/0.3157, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1164, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003082/0.1195, allocations: 1.667 MB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.1203, allocations: 343.6 kB / 489 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.1204, allocations: 4 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.1209, allocations: 451.2 kB / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.1213, allocations: 243.5 kB / 489.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.1217, allocations: 143.8 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1219, allocations: 155.7 kB / 490 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1221, allocations: 28.42 kB / 490 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1222, allocations: 99.8 kB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1224, allocations: 203.6 kB / 490.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1224, allocations: 0 / 490.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.1225, allocations: 35.98 kB / 490.4 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1227, allocations: 87.61 kB / 490.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/0.1227, allocations: 99 kB / 490.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1231, allocations: 247 kB / 490.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1231, allocations: 4 kB / 490.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1231, allocations: 0 / 490.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1231, allocations: 0 / 490.8 MB, free: 8.762 MB / 378.7 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.0007155/0.1238, allocations: 0.6337 MB / 491.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1239, allocations: 8.031 kB / 491.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.1239, allocations: 48.38 kB / 491.5 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1243, allocations: 292.2 kB / 491.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1243, allocations: 4.375 kB / 491.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1243, allocations: 384 / 491.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1245, allocations: 69.59 kB / 491.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1245, allocations: 3.984 kB / 491.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1245, allocations: 4 kB / 491.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1245, allocations: 0 / 491.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/0.1246, allocations: 23.98 kB / 491.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.1251, allocations: 400.5 kB / 492.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1253, allocations: 46.56 kB / 492.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.1254, allocations: 16.94 kB / 492.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1254, allocations: 4 kB / 492.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1255, allocations: 30.56 kB / 492.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.1255, allocations: 0 / 492.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006226/0.1261, allocations: 235.9 kB / 492.6 MB, free: 6.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1261, allocations: 55.41 kB / 492.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.1269, allocations: 0.8613 MB / 493.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1269, allocations: 25.7 kB / 493.5 MB, free: 5.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1271, allocations: 220.1 kB / 493.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1271, allocations: 19.72 kB / 493.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.1272, allocations: 17.66 kB / 493.8 MB, free: 5.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1274, allocations: 366.8 kB / 494.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.1274, allocations: 23.92 kB / 494.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.1275, allocations: 19.98 kB / 494.2 MB, free: 5.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1277, allocations: 52.83 kB / 494.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1277, allocations: 0 / 494.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001995/0.1279, allocations: 117.2 kB / 494.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1279, allocations: 12 kB / 494.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1279, allocations: 0 / 494.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1279, allocations: 0 / 494.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.128, allocations: 11.98 kB / 494.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.128, allocations: 3.938 kB / 494.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.128, allocations: 7.938 kB / 494.4 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1281, allocations: 4.25 kB / 494.4 MB, free: 4.938 MB / 378.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.1282, allocations: 221.7 kB / 494.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.1283, allocations: 43.44 kB / 494.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.1286, allocations: 145 kB / 494.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1286, allocations: 0 / 494.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1286, allocations: 0 / 494.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1286, allocations: 3.938 kB / 494.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.1291, allocations: 470.5 kB / 495.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1291, allocations: 4 kB / 495.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.1292, allocations: 12 kB / 495.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1292, allocations: 3.938 kB / 495.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1292, allocations: 3.938 kB / 495.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1292, allocations: 0 / 495.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1292, allocations: 3.984 kB / 495.3 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.1298, allocations: 0.8753 MB / 496.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.1299, allocations: 112.5 kB / 496.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1299, allocations: 0 / 496.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.13, allocations: 4 kB / 496.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.13, allocations: 7.984 kB / 496.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.13, allocations: 0 / 496.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005757/0.1306, allocations: 0.6472 MB / 496.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1306, allocations: 4 kB / 496.9 MB, free: 2.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.131, allocations: 24 kB / 496.9 MB, free: 2.223 MB / 378.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008531/0.1318, allocations: 406.2 kB / 497.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.132, allocations: 51.95 kB / 497.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1321, allocations: 0 / 497.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.1321, allocations: 27.98 kB / 497.4 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1326, allocations: 34.44 kB / 497.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1338, allocations: 0.991 MB / 498.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.1342, allocations: 0.8262 MB / 499.3 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.259e-05/0.1343, allocations: 19.84 kB / 499.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1344, allocations: 15.42 kB / 499.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1344, allocations: 0 / 499.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of Templates: time 0.005131/0.1395, allocations: 1.428 MB / 0.489 GB, free: 14.41 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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