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.0008978/0.0008978, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007024/0.0007023, allocations: 92.73 kB / 271.2 MB, free: 8.246 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.3408/0.3408, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004226, allocations: 20 kB / 432 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002257/0.1256, allocations: 1.526 MB / 492.4 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1271, allocations: 0.8357 MB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1272, allocations: 3.938 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.1276, allocations: 211.6 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.128, allocations: 155.5 kB / 493.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.1284, allocations: 131.8 kB / 493.7 MB, free: 8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.1287, allocations: 187.4 kB / 493.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1288, allocations: 21.55 kB / 493.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.129, allocations: 103.5 kB / 494 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1292, allocations: 127.6 kB / 494.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1292, allocations: 4 kB / 494.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1293, allocations: 32 kB / 494.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.1294, allocations: 59.75 kB / 494.2 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.726e-05/0.1295, allocations: 89.19 kB / 494.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1297, allocations: 159.9 kB / 494.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1297, allocations: 0 / 494.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1297, allocations: 0 / 494.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1297, allocations: 0 / 494.5 MB, free: 7.219 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006667/0.1304, allocations: 0.5138 MB / 495 MB, free: 6.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1305, allocations: 8.031 kB / 495 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.1305, allocations: 24.66 kB / 495 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1308, allocations: 280 kB / 495.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1309, allocations: 12.31 kB / 495.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1309, allocations: 8.125 kB / 495.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1311, allocations: 99.28 kB / 495.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1311, allocations: 4 kB / 495.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1311, allocations: 4 kB / 495.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1312, allocations: 0 / 495.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1313, allocations: 39.97 kB / 495.4 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.1318, allocations: 444.9 kB / 495.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1321, allocations: 117.3 kB / 496 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.1322, allocations: 45.64 kB / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1322, allocations: 0 / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.1325, allocations: 113.1 kB / 496.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.724e-06/0.1325, allocations: 0 / 496.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000857/0.1334, allocations: 372 kB / 496.5 MB, free: 4.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1334, allocations: 85.05 kB / 496.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.1338, allocations: 424.5 kB / 497 MB, free: 4.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1339, allocations: 33.7 kB / 497 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.134, allocations: 156.3 kB / 497.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.366e-05/0.1341, allocations: 51.34 kB / 497.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.1341, allocations: 0 / 497.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1343, allocations: 346.8 kB / 497.6 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1344, allocations: 39.92 kB / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1346, allocations: 79.34 kB / 497.7 MB, free: 3.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.1348, allocations: 111.5 kB / 497.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1348, allocations: 0 / 497.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003141/0.1351, allocations: 181.3 kB / 498 MB, free: 3.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1351, allocations: 8 kB / 498 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1351, allocations: 4.062 kB / 498 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1352, allocations: 0 / 498 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1353, allocations: 35.92 kB / 498 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1353, allocations: 3.938 kB / 498 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.1354, allocations: 15.98 kB / 498 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.1354, allocations: 4 kB / 498 MB, free: 3.344 MB / 378.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.0001439/0.1356, allocations: 165.7 kB / 498.2 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.1356, allocations: 31.62 kB / 498.2 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.647e-05/0.1357, allocations: 38.62 kB / 498.3 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1357, allocations: 3.938 kB / 498.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1357, allocations: 3.938 kB / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1358, allocations: 3.984 kB / 498.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.1365, allocations: 0.6125 MB / 498.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.1365, allocations: 4 kB / 498.9 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.1366, allocations: 23.98 kB / 498.9 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1366, allocations: 4 kB / 498.9 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1366, allocations: 8 kB / 498.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1366, allocations: 0 / 498.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1366, allocations: 0 / 498.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.137, allocations: 375.8 kB / 499.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.1371, allocations: 104.8 kB / 499.4 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.1371, allocations: 4 kB / 499.4 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1372, allocations: 11.98 kB / 499.4 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1373, allocations: 11.98 kB / 499.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1373, allocations: 12.5 kB / 499.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002816/0.1376, allocations: 315 kB / 499.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1376, allocations: 4 kB / 499.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.1379, allocations: 43.98 kB / 499.8 MB, free: 1.473 MB / 378.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.0009576/0.1389, allocations: 473.8 kB / 0.4885 GB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1392, allocations: 123.9 kB / 0.4887 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1392, allocations: 0 / 0.4887 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1393, allocations: 51.92 kB / 0.4887 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.1398, allocations: 60.91 kB / 0.4888 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/0.1406, allocations: 0.5579 MB / 0.4893 GB, free: 232 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.19/0.3307, allocations: 0.7639 MB / 0.4901 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3308, allocations: 24.52 kB / 0.4901 GB, free: 42.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3308, allocations: 0 / 0.4901 GB, free: 42.45 MB / 378.7 MB Notification: Performance of Templates: time 0.005477/0.3363, allocations: 3.214 MB / 0.4932 GB, free: 42.28 MB / 378.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/jenkins/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:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time