Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, 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.666/1.666, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.0009843/0.0009842, allocations: 108 kB / 269.9 MB, free: 8.426 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.3912/0.3912, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 60.11 kB / 429.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1262, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003307/0.1296, allocations: 1.72 MB / 488.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1309, allocations: 0.7702 MB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.131, allocations: 11.94 kB / 489.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1313, allocations: 43.86 kB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1315, allocations: 59.75 kB / 489.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1318, allocations: 67.86 kB / 489.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.132, allocations: 91.69 kB / 489.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.132, allocations: 7.984 kB / 489.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.1321, allocations: 43.78 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.1322, allocations: 43.77 kB / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1323, allocations: 4 kB / 489.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.116e-05/0.1324, allocations: 28 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.1324, allocations: 11.92 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.1325, allocations: 35.78 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1327, allocations: 88 kB / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1327, allocations: 0 / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1327, allocations: 0 / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1327, allocations: 0 / 490 MB, free: 9.492 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005401/0.1332, allocations: 399 kB / 490.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1333, allocations: 15.97 kB / 490.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1333, allocations: 8.844 kB / 490.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1336, allocations: 212.6 kB / 490.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1336, allocations: 384 / 490.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1336, allocations: 4.125 kB / 490.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1338, allocations: 49.67 kB / 490.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1338, allocations: 0 / 490.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.1338, allocations: 0 / 490.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1338, allocations: 0 / 490.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.1339, allocations: 15.98 kB / 490.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.1341, allocations: 181.7 kB / 490.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1342, allocations: 54.55 kB / 491 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.1343, allocations: 24.78 kB / 491 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1343, allocations: 4 kB / 491 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.1346, allocations: 71.3 kB / 491 MB, free: 8.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.1346, allocations: 0 / 491 MB, free: 8.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002749/0.1349, allocations: 93.7 kB / 491.1 MB, free: 8.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1349, allocations: 51.41 kB / 491.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1351, allocations: 174.2 kB / 491.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1351, allocations: 29.69 kB / 491.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.1352, allocations: 96.14 kB / 491.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1352, allocations: 11.91 kB / 491.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1352, allocations: 29.64 kB / 491.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1354, allocations: 322.8 kB / 491.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.1354, allocations: 16.06 kB / 491.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/0.1355, allocations: 25.7 kB / 491.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1356, allocations: 49.64 kB / 491.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1356, allocations: 3.938 kB / 491.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001606/0.1358, allocations: 85.44 kB / 492 MB, free: 7.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1358, allocations: 4 kB / 492 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1358, allocations: 3.938 kB / 492 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1358, allocations: 4 kB / 492 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.1359, allocations: 8 kB / 492 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1359, allocations: 3.984 kB / 492 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.136, allocations: 8 kB / 492 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.136, allocations: 0 / 492 MB, free: 7.234 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 (7): * Single equations (assignments): 7 * 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.568e-05/0.1361, allocations: 125.8 kB / 492.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1361, allocations: 7.906 kB / 492.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.1362, allocations: 16.3 kB / 492.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1362, allocations: 0 / 492.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1362, allocations: 4 kB / 492.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1362, allocations: 0 / 492.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1363, allocations: 181.6 kB / 492.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1363, allocations: 0 / 492.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.1364, allocations: 8 kB / 492.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1364, allocations: 3.984 kB / 492.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1364, allocations: 4 kB / 492.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1364, allocations: 7.938 kB / 492.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1364, allocations: 0 / 492.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.1369, allocations: 0.6746 MB / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1369, allocations: 100.8 kB / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.137, allocations: 0 / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.137, allocations: 8 kB / 493.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.137, allocations: 0 / 493.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1371, allocations: 11.92 kB / 493.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.466e-05/0.1372, allocations: 132.1 kB / 493.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1372, allocations: 0 / 493.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.1375, allocations: 16 kB / 493.3 MB, free: 5.812 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000864/0.1384, allocations: 422.1 kB / 493.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1385, allocations: 43.92 kB / 493.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1385, allocations: 0 / 493.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.1386, allocations: 19.98 kB / 493.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.1388, allocations: 23.98 kB / 493.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1393, allocations: 314.7 kB / 494.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.1396, allocations: 0.6965 MB / 494.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.584e-05/0.1396, allocations: 20.52 kB / 494.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.1397, allocations: 19.44 kB / 494.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1397, allocations: 0 / 494.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of Templates: time 0.003833/0.1435, allocations: 1.431 MB / 496.3 MB, free: 2.82 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches