Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001578, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001196/0.001195, allocations: 94.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2874/0.2874, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000626/0.0006261, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1209, allocations: 58.86 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002403/0.1233, allocations: 1.306 MB / 491.5 MB, free: 8.031 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.1242, allocations: 303.8 kB / 491.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.1243, allocations: 4 kB / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.1251, allocations: 439.2 kB / 492.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.1255, allocations: 243.5 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.1261, allocations: 139.7 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1264, allocations: 111.8 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.1265, allocations: 15.98 kB / 492.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1266, allocations: 107.7 kB / 492.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.127, allocations: 147.7 kB / 493 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.127, allocations: 0 / 493 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1271, allocations: 19.94 kB / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1272, allocations: 87.73 kB / 493.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.1273, allocations: 69.45 kB / 493.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.1276, allocations: 188 kB / 493.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1277, allocations: 0 / 493.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1277, allocations: 0 / 493.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1277, allocations: 0 / 493.4 MB, free: 6.184 MB / 330.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.000902/0.1286, allocations: 0.5987 MB / 494 MB, free: 5.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1287, allocations: 20.02 kB / 494 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.1287, allocations: 39.44 kB / 494 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.1291, allocations: 283.3 kB / 494.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1291, allocations: 0 / 494.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1292, allocations: 7.938 kB / 494.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.1294, allocations: 65.66 kB / 494.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1295, allocations: 7.891 kB / 494.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1295, allocations: 0 / 494.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1295, allocations: 8 kB / 494.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.1298, allocations: 43.97 kB / 494.4 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.1305, allocations: 412.7 kB / 494.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1307, allocations: 50.5 kB / 494.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1307, allocations: 0 / 494.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1308, allocations: 34.56 kB / 494.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.1308, allocations: 0 / 494.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001369/0.1322, allocations: 343.9 kB / 495.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1322, allocations: 51.41 kB / 495.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.1335, allocations: 0.869 MB / 496.2 MB, free: 3.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1336, allocations: 33.7 kB / 496.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.1338, allocations: 230.6 kB / 496.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1338, allocations: 19.66 kB / 496.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.1338, allocations: 4 kB / 496.4 MB, free: 2.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.134, allocations: 318.8 kB / 496.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.1342, allocations: 47.97 kB / 496.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1345, allocations: 39.97 kB / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.1347, allocations: 52.03 kB / 496.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1348, allocations: 7.938 kB / 496.9 MB, free: 2.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005383/0.1353, allocations: 133.6 kB / 497 MB, free: 2.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1353, allocations: 8 kB / 497 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1354, allocations: 0 / 497 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1354, allocations: 7.953 kB / 497 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1356, allocations: 19.98 kB / 497.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1356, allocations: 0 / 497.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.1358, allocations: 19.92 kB / 497.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1358, allocations: 4 kB / 497.1 MB, free: 2.234 MB / 330.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 (7): * Single equations (assignments): 7 * 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.000317/0.1362, allocations: 221.8 kB / 497.3 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.1362, allocations: 39.44 kB / 497.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006954/0.137, allocations: 193.4 kB / 497.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.137, allocations: 4 kB / 497.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-06/0.137, allocations: 3.953 kB / 497.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.137, allocations: 0 / 497.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1381, allocations: 0.53 MB / 498.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1381, allocations: 0 / 498.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.1383, allocations: 23.98 kB / 498.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1383, allocations: 0 / 498.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1383, allocations: 7.953 kB / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1383, allocations: 0 / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1384, allocations: 0 / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.139, allocations: 279 kB / 498.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1391, allocations: 116.5 kB / 498.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.1391, allocations: 0 / 498.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1393, allocations: 19.94 kB / 498.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.1394, allocations: 7.938 kB / 498.5 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1394, allocations: 0 / 498.5 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009399/0.1404, allocations: 0.655 MB / 499.2 MB, free: 40 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1404, allocations: 0 / 499.2 MB, free: 40 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.1408, allocations: 31.98 kB / 499.2 MB, free: 8 kB / 330.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 (7): * Single equations (assignments): 7 * 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.00119/0.142, allocations: 405.9 kB / 499.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.1425, allocations: 103.9 kB / 499.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1426, allocations: 0 / 499.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.1428, allocations: 63.91 kB / 499.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1432, allocations: 21.89 kB / 499.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.145, allocations: 0.8901 MB / 0.4889 GB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.1455, allocations: 0.8379 MB / 0.4898 GB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1456, allocations: 11.44 kB / 0.4898 GB, free: 13.68 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1456, allocations: 4 kB / 0.4898 GB, free: 13.67 MB / 346.7 MB Notification: Performance of Templates: time 0.01112/0.1568, allocations: 3.856 MB / 0.4935 GB, free: 9.812 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches