Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002/0.002, allocations: 183 kB / 16.63 MB, free: 5.137 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.638/1.638, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.001168/0.001168, allocations: 96.78 kB / 269.9 MB, free: 8.438 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.3887/0.3887, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009022/0.0009023, allocations: 59.91 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1253, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003144/0.1284, allocations: 1.767 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1304, allocations: 1.367 MB / 490.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.1306, allocations: 3.938 kB / 490.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1308, allocations: 43.83 kB / 490.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1311, allocations: 43.84 kB / 490.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1314, allocations: 83.77 kB / 490.3 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1315, allocations: 87.77 kB / 490.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.1316, allocations: 8.219 kB / 490.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.1317, allocations: 43.78 kB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1319, allocations: 35.84 kB / 490.5 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1319, allocations: 4 kB / 490.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1321, allocations: 67.89 kB / 490.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.1321, allocations: 15.92 kB / 490.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.1322, allocations: 31.78 kB / 490.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1324, allocations: 123.9 kB / 490.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1324, allocations: 0 / 490.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1324, allocations: 0 / 490.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.065e-06/0.1324, allocations: 0 / 490.7 MB, free: 8.797 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.0004766/0.1329, allocations: 399.1 kB / 491.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.133, allocations: 12.03 kB / 491.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.133, allocations: 8.844 kB / 491.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1333, allocations: 204.1 kB / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1333, allocations: 8.375 kB / 491.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1333, allocations: 4.125 kB / 491.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1335, allocations: 79.31 kB / 491.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1335, allocations: 0 / 491.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1335, allocations: 0 / 491.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1335, allocations: 4 kB / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.023e-05/0.1336, allocations: 19.98 kB / 491.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.134, allocations: 288.7 kB / 491.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1342, allocations: 54.69 kB / 491.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.1342, allocations: 20.84 kB / 491.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1343, allocations: 4 kB / 491.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.1345, allocations: 71.33 kB / 491.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1345, allocations: 0 / 491.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005708/0.1351, allocations: 169.2 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.1352, allocations: 81.11 kB / 492.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1354, allocations: 149.8 kB / 492.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1354, allocations: 33.69 kB / 492.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.1355, allocations: 92.14 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.1355, allocations: 27.64 kB / 492.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.1356, allocations: 21.72 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1357, allocations: 326.8 kB / 492.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.873e-05/0.1358, allocations: 19.98 kB / 492.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.1359, allocations: 46.5 kB / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.136, allocations: 61.69 kB / 492.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.136, allocations: 0 / 492.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001811/0.1362, allocations: 97.56 kB / 493 MB, free: 6.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1362, allocations: 8 kB / 493 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1362, allocations: 0 / 493 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1362, allocations: 0 / 493 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.1363, allocations: 16.31 kB / 493 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1364, allocations: 7.984 kB / 493 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.1364, allocations: 15.97 kB / 493 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.1364, allocations: 4 kB / 493 MB, free: 6.238 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.1365, allocations: 113.8 kB / 493.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1366, allocations: 15.81 kB / 493.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.1366, allocations: 16.7 kB / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1366, allocations: 0 / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1366, allocations: 0 / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1366, allocations: 7.875 kB / 493.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.1371, allocations: 391.3 kB / 493.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1371, allocations: 0 / 493.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.1371, allocations: 11.98 kB / 493.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1371, allocations: 0 / 493.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1372, allocations: 7.938 kB / 493.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1372, allocations: 3.938 kB / 493.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1372, allocations: 240 / 493.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.1378, allocations: 0.7832 MB / 494.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.1379, allocations: 85.02 kB / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1379, allocations: 4 kB / 494.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.138, allocations: 11.97 kB / 494.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.138, allocations: 4 kB / 494.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1381, allocations: 8 kB / 494.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.1382, allocations: 118.7 kB / 494.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1382, allocations: 0 / 494.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.1385, allocations: 35.98 kB / 494.6 MB, free: 4.492 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.1396, allocations: 0.4963 MB / 495.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1398, allocations: 71.83 kB / 495.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1398, allocations: 0 / 495.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.1399, allocations: 23.94 kB / 495.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1402, allocations: 36.09 kB / 495.3 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1407, allocations: 327.6 kB / 495.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.141, allocations: 0.6965 MB / 496.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.766e-05/0.1411, allocations: 17.17 kB / 496.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.1411, allocations: 27.36 kB / 496.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1411, allocations: 0 / 496.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of Templates: time 0.004328/0.1454, allocations: 1.924 MB / 498.2 MB, free: 0.8711 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches