Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009856/0.0009857, allocations: 180.3 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.6 MB / 222.4 MB, free: 13.67 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000759/0.000759, allocations: 98.23 kB / 270.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.199/0.199, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003677, allocations: 12 kB / 432.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 58.85 MB / 491.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003146/0.1354, allocations: 1.394 MB / 492.6 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1373, allocations: 0.8292 MB / 493.4 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.1374, allocations: 0 / 493.4 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.1378, allocations: 83.81 kB / 493.5 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1381, allocations: 55.81 kB / 493.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1385, allocations: 83.83 kB / 493.6 MB, free: 5.629 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.1388, allocations: 103.7 kB / 493.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1389, allocations: 4.234 kB / 493.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.139, allocations: 51.7 kB / 493.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1392, allocations: 51.83 kB / 493.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1392, allocations: 0 / 493.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1393, allocations: 39.97 kB / 493.9 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.1394, allocations: 27.92 kB / 493.9 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.1395, allocations: 57.39 kB / 493.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1398, allocations: 119.8 kB / 494.1 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1398, allocations: 0 / 494.1 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1398, allocations: 0 / 494.1 MB, free: 5.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1399, allocations: 0 / 494.1 MB, free: 5.176 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.000665/0.1405, allocations: 399.2 kB / 494.5 MB, free: 4.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1406, allocations: 8.031 kB / 494.5 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.1407, allocations: 20.73 kB / 494.5 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.141, allocations: 208.1 kB / 494.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.141, allocations: 384 / 494.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.141, allocations: 12.12 kB / 494.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1412, allocations: 57.59 kB / 494.8 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1413, allocations: 0 / 494.8 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1413, allocations: 7.984 kB / 494.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1413, allocations: 4 kB / 494.8 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1414, allocations: 15.98 kB / 494.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.1419, allocations: 296.7 kB / 495.1 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1421, allocations: 58.62 kB / 495.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.1422, allocations: 20.84 kB / 495.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1423, allocations: 0 / 495.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.1425, allocations: 67.39 kB / 495.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.1425, allocations: 0 / 495.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007251/0.1433, allocations: 177.1 kB / 495.4 MB, free: 3.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1433, allocations: 55.41 kB / 495.4 MB, free: 3.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.1436, allocations: 210.3 kB / 495.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1437, allocations: 29.7 kB / 495.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.1438, allocations: 100.1 kB / 495.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.1438, allocations: 23.64 kB / 495.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.1439, allocations: 12 kB / 495.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.144, allocations: 326.8 kB / 496.1 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.1441, allocations: 23.92 kB / 496.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1442, allocations: 41.64 kB / 496.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1444, allocations: 49.72 kB / 496.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1445, allocations: 0 / 496.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002838/0.1447, allocations: 109.4 kB / 496.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1448, allocations: 8 kB / 496.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1448, allocations: 0 / 496.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1448, allocations: 0 / 496.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.145, allocations: 15.98 kB / 496.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.145, allocations: 4 kB / 496.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.1451, allocations: 3.938 kB / 496.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1451, allocations: 4 kB / 496.4 MB, free: 2.625 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.1453, allocations: 137.8 kB / 496.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.1453, allocations: 7.906 kB / 496.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.1454, allocations: 17.56 kB / 496.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1454, allocations: 0 / 496.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1454, allocations: 384 / 496.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.1454, allocations: 7.922 kB / 496.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.1461, allocations: 399.2 kB / 496.9 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1461, allocations: 4 kB / 496.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.1461, allocations: 12.03 kB / 497 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1462, allocations: 0 / 497 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.1462, allocations: 15.88 kB / 497 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1462, allocations: 0 / 497 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1462, allocations: 3.984 kB / 497 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1466, allocations: 200.2 kB / 497.2 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.1466, allocations: 92.92 kB / 497.3 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.1467, allocations: 11.94 kB / 497.3 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1468, allocations: 3.984 kB / 497.3 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1469, allocations: 8 kB / 497.3 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1469, allocations: 4 kB / 497.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.1471, allocations: 160.2 kB / 497.4 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1472, allocations: 0 / 497.4 MB, free: 1.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004611/0.1476, allocations: 24 kB / 497.5 MB, free: 1.43 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 (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.001652/0.1493, allocations: 0.5219 MB / 498 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1496, allocations: 63.91 kB / 498 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.1496, allocations: 3.938 kB / 498.1 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1497, allocations: 32 kB / 498.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.1503, allocations: 27.95 kB / 498.1 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.1509, allocations: 274.2 kB / 498.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1513, allocations: 0.7004 MB / 499.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.1514, allocations: 16.88 kB / 499.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1515, allocations: 15.44 kB / 499.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1515, allocations: 0 / 499.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of Templates: time 0.006408/0.1579, allocations: 1.627 MB / 0.489 GB, free: 14.25 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches