Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.862/1.862, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008131/0.0008131, allocations: 99.45 kB / 270.9 MB, free: 8.355 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.3277/0.3277, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1219, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001945/0.1239, allocations: 1.386 MB / 491.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.125, allocations: 0.7383 MB / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.1251, allocations: 8 kB / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1253, allocations: 39.83 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.1255, allocations: 43.83 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1257, allocations: 71.86 kB / 492.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1259, allocations: 87.67 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.126, allocations: 16.16 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.1261, allocations: 35.86 kB / 492.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.1262, allocations: 35.77 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1262, allocations: 4 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.254e-05/0.1263, allocations: 32 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.1263, allocations: 11.92 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.1264, allocations: 45.64 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1265, allocations: 84.08 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1265, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1265, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1266, allocations: 0 / 492.9 MB, free: 8.566 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005235/0.1271, allocations: 402.8 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1271, allocations: 16.02 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1272, allocations: 7.906 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1274, allocations: 206.8 kB / 493.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1274, allocations: 4 kB / 493.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1274, allocations: 4 kB / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1276, allocations: 57.61 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1276, allocations: 0 / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1276, allocations: 4 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1276, allocations: 3.953 kB / 493.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.1277, allocations: 19.98 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1281, allocations: 280.9 kB / 493.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1283, allocations: 62.61 kB / 493.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1283, allocations: 20.86 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1284, allocations: 0 / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1286, allocations: 75.19 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1286, allocations: 4 kB / 494 MB, free: 7.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005264/0.1291, allocations: 165.3 kB / 494.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1292, allocations: 55.41 kB / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1293, allocations: 190.1 kB / 494.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1294, allocations: 25.7 kB / 494.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.1294, allocations: 104.1 kB / 494.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1295, allocations: 19.66 kB / 494.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.1295, allocations: 4 kB / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1296, allocations: 322.8 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-05/0.1297, allocations: 23.98 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.1297, allocations: 37.64 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.738e-05/0.1298, allocations: 24 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1298, allocations: 0 / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.13, allocations: 105.5 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.13, allocations: 4 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.13, allocations: 0 / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1301, allocations: 0 / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.1301, allocations: 23.94 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1302, allocations: 3.984 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.1302, allocations: 8.031 kB / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1302, allocations: 0 / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001053/0.1303, allocations: 133.2 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.1304, allocations: 15.84 kB / 495.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.1304, allocations: 16.7 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1304, allocations: 0 / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1304, allocations: 4 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1304, allocations: 0 / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.1309, allocations: 399.2 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1309, allocations: 0 / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.1309, allocations: 15.92 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1309, allocations: 0 / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1309, allocations: 4 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.131, allocations: 0 / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.131, allocations: 0 / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1312, allocations: 204.5 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.1313, allocations: 97.05 kB / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1313, allocations: 0 / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1314, allocations: 11.94 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1314, allocations: 7.984 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1314, allocations: 4 kB / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1315, allocations: 144 kB / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1316, allocations: 0 / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.1318, allocations: 28 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009149/0.1327, allocations: 468.7 kB / 496.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1329, allocations: 55.97 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1329, allocations: 0 / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.133, allocations: 31.94 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1333, allocations: 23.97 kB / 496.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.1337, allocations: 264.2 kB / 497 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.134, allocations: 0.7082 MB / 497.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1341, allocations: 19.42 kB / 497.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1341, allocations: 3.938 kB / 497.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of Templates: time 0.00335/0.1374, allocations: 1.875 MB / 499.6 MB, free: 1.484 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches