Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003101/0.003106, allocations: 189.2 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.166/2.166, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.86 kB / 270.9 MB, free: 13.37 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.2997/0.2997, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004808, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002706/0.1278, allocations: 1.383 MB / 491.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.1297, allocations: 0.7344 MB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1298, allocations: 3.938 kB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.1302, allocations: 75.77 kB / 492.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1305, allocations: 63.84 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1309, allocations: 71.78 kB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1311, allocations: 71.84 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1313, allocations: 12.23 kB / 492.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1314, allocations: 43.83 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1315, allocations: 43.81 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1316, allocations: 4 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1317, allocations: 27.94 kB / 492.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.1318, allocations: 23.91 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.1319, allocations: 37.64 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1321, allocations: 92.09 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1321, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1321, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1321, allocations: 4 kB / 492.9 MB, free: 6.629 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007368/0.1329, allocations: 398.9 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1329, allocations: 16 kB / 493.3 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.133, allocations: 15.77 kB / 493.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1333, allocations: 198.9 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.1334, allocations: 8 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1334, allocations: 3.984 kB / 493.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1336, allocations: 61.61 kB / 493.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1336, allocations: 0 / 493.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1336, allocations: 0 / 493.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1337, allocations: 7.984 kB / 493.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1338, allocations: 19.94 kB / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1343, allocations: 281 kB / 493.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.1345, allocations: 66.61 kB / 494 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1346, allocations: 0 / 494 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.1348, allocations: 71.42 kB / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.1348, allocations: 0 / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007947/0.1356, allocations: 177.1 kB / 494.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1357, allocations: 59.39 kB / 494.3 MB, free: 5.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.136, allocations: 214.4 kB / 494.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1361, allocations: 29.64 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1362, allocations: 166.6 kB / 494.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1363, allocations: 27.64 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.1363, allocations: 0 / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1364, allocations: 310.8 kB / 495 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.1365, allocations: 23.98 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1367, allocations: 37.64 kB / 495.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1368, allocations: 24 kB / 495.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1368, allocations: 0 / 495.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003014/0.1372, allocations: 97.52 kB / 495.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1372, allocations: 15.38 kB / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1372, allocations: 0 / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.1372, allocations: 3.953 kB / 495.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1374, allocations: 16 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1374, allocations: 0 / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-05/0.1375, allocations: 8.016 kB / 495.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1375, allocations: 4 kB / 495.2 MB, free: 4.098 MB / 330.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.0001502/0.1377, allocations: 125.8 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1377, allocations: 11.89 kB / 495.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.1378, allocations: 17.41 kB / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1378, allocations: 3.953 kB / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1379, allocations: 0 / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1379, allocations: 0 / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.1386, allocations: 399.3 kB / 495.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1386, allocations: 0 / 495.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.1386, allocations: 11.94 kB / 495.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.1387, allocations: 7.953 kB / 495.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1387, allocations: 4 kB / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1387, allocations: 0 / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1387, allocations: 0 / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.1391, allocations: 217.9 kB / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.1392, allocations: 92.95 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.1392, allocations: 4 kB / 496.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1393, allocations: 4.375 kB / 496.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.1394, allocations: 7.984 kB / 496.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.1394, allocations: 7.938 kB / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.1397, allocations: 156.4 kB / 496.3 MB, free: 2.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1397, allocations: 4 kB / 496.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003904/0.1401, allocations: 35.83 kB / 496.3 MB, free: 2.895 MB / 330.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.001459/0.1416, allocations: 467.3 kB / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.1419, allocations: 59.91 kB / 496.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1419, allocations: 0 / 496.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1421, allocations: 28 kB / 496.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1425, allocations: 23.97 kB / 496.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.1432, allocations: 291.9 kB / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1436, allocations: 0.7082 MB / 497.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.1437, allocations: 15.44 kB / 497.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1437, allocations: 0 / 497.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of Templates: time 0.005854/0.1495, allocations: 1.934 MB / 499.8 MB, free: 15.38 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches