Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001654, allocations: 188.4 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.107/2.107, 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.00119/0.00119, allocations: 102.8 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.306/0.306, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002888/0.1183, allocations: 1.512 MB / 491.7 MB, free: 7.809 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1204, allocations: 0.8124 MB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1205, allocations: 7.875 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.1211, allocations: 207.5 kB / 492.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.1216, allocations: 147.7 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.1222, allocations: 123.7 kB / 493 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.1225, allocations: 155.7 kB / 493.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1227, allocations: 13.56 kB / 493.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1229, allocations: 103.6 kB / 493.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.1231, allocations: 103.6 kB / 493.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1232, allocations: 4 kB / 493.4 MB, free: 6.141 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1234, allocations: 35.91 kB / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1235, allocations: 55.77 kB / 493.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.1236, allocations: 53.58 kB / 493.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.1239, allocations: 156 kB / 493.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1239, allocations: 0 / 493.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1239, allocations: 4 kB / 493.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1239, allocations: 0 / 493.7 MB, free: 5.836 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009022/0.1249, allocations: 0.4981 MB / 494.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1249, allocations: 16.02 kB / 494.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.125, allocations: 31.58 kB / 494.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.1255, allocations: 267 kB / 494.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1255, allocations: 4 kB / 494.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1256, allocations: 4 kB / 494.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.1259, allocations: 103.3 kB / 494.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1259, allocations: 0 / 494.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1259, allocations: 0 / 494.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.126, allocations: 4 kB / 494.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.1262, allocations: 47.86 kB / 494.7 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.1269, allocations: 445 kB / 495.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.1274, allocations: 113.4 kB / 495.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.608e-05/0.1275, allocations: 4 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/0.1279, allocations: 125 kB / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.567e-06/0.1279, allocations: 0 / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001428/0.1293, allocations: 368.3 kB / 495.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.1294, allocations: 81.11 kB / 495.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.1301, allocations: 432.5 kB / 496.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.996e-05/0.1302, allocations: 33.7 kB / 496.2 MB, free: 3.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1304, allocations: 190.8 kB / 496.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.1304, allocations: 51.34 kB / 496.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.1305, allocations: 4 kB / 496.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1306, allocations: 318.8 kB / 496.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1308, allocations: 39.98 kB / 496.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.131, allocations: 75.36 kB / 496.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1313, allocations: 47.94 kB / 496.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1313, allocations: 0 / 496.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000549/0.1318, allocations: 161.4 kB / 497.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1319, allocations: 7.438 kB / 497.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1319, allocations: 0 / 497.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1319, allocations: 4 kB / 497.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.1322, allocations: 36.23 kB / 497.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.1322, allocations: 7.938 kB / 497.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1324, allocations: 11.98 kB / 497.2 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1324, allocations: 8 kB / 497.2 MB, free: 2.102 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002605/0.1327, allocations: 165.7 kB / 497.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.1328, allocations: 23.72 kB / 497.4 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1329, allocations: 38.62 kB / 497.4 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1329, allocations: 0 / 497.4 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1329, allocations: 8 kB / 497.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1329, allocations: 3.984 kB / 497.4 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.1342, allocations: 0.6205 MB / 498 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1342, allocations: 3.938 kB / 498 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1343, allocations: 23.92 kB / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.1343, allocations: 4.062 kB / 498.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.1344, allocations: 4 kB / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1344, allocations: 0 / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1344, allocations: 4 kB / 498.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.1351, allocations: 404.9 kB / 498.5 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1352, allocations: 104.8 kB / 498.6 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.1353, allocations: 7.891 kB / 498.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.1355, allocations: 15.98 kB / 498.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.1356, allocations: 7.984 kB / 498.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.1357, allocations: 12 kB / 498.6 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005048/0.1362, allocations: 323 kB / 498.9 MB, free: 224 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1362, allocations: 0 / 498.9 MB, free: 224 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004711/0.1367, allocations: 39.89 kB / 499 MB, free: 184 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001441/0.1381, allocations: 464.3 kB / 499.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005104/0.1387, allocations: 119.8 kB / 499.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1387, allocations: 0 / 499.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.1389, allocations: 55.92 kB / 499.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.1396, allocations: 49.03 kB / 499.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1408, allocations: 0.5502 MB / 0.4885 GB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.1414, allocations: 0.779 MB / 0.4892 GB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1415, allocations: 27.44 kB / 0.4892 GB, free: 14.13 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1415, allocations: 0 / 0.4892 GB, free: 14.13 MB / 346.7 MB Notification: Performance of Templates: time 0.008571/0.1501, allocations: 3.223 MB / 0.4924 GB, free: 10.91 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:der(d_t_new.u),d_t_new.u,d_t_new.y,der(d_t_new_2.u),d_t_new_2.u,d_t_new_2.y,t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time