Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 106.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.86 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003591/0.1517, allocations: 1.721 MB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1533, allocations: 0.846 MB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.1534, allocations: 0 / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1538, allocations: 43.81 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1541, allocations: 59.8 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1544, allocations: 87.59 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1546, allocations: 95.69 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.381e-05/0.1546, allocations: 8 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.1547, allocations: 43.72 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1548, allocations: 35.78 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1549, allocations: 4 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.155, allocations: 31.98 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.1551, allocations: 15.97 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.1552, allocations: 31.75 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1554, allocations: 91.98 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1554, allocations: 0 / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1554, allocations: 0 / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1555, allocations: 3.938 kB / 471.6 MB, free: 11.73 MB / 350.1 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.0007086/0.1562, allocations: 403.1 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1562, allocations: 8.031 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.1563, allocations: 8.844 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1566, allocations: 196.1 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1566, allocations: 4.375 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.1566, allocations: 8.109 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1568, allocations: 45.69 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1568, allocations: 4 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1568, allocations: 4 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1568, allocations: 0 / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.1569, allocations: 15.92 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.1571, allocations: 177.7 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1573, allocations: 54.61 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.1574, allocations: 20.8 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1574, allocations: 4 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.1576, allocations: 67.33 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.1577, allocations: 4 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000305/0.158, allocations: 97.55 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.158, allocations: 51.41 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1582, allocations: 169.7 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1582, allocations: 37.7 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.1583, allocations: 96.12 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1583, allocations: 15.75 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.1584, allocations: 25.72 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1585, allocations: 318.8 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-05/0.1586, allocations: 19.97 kB / 473.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.1587, allocations: 33.64 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.872e-05/0.1588, allocations: 45.7 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1588, allocations: 0 / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001567/0.159, allocations: 85.47 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.159, allocations: 14.11 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.159, allocations: 0 / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.159, allocations: 3.938 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.1591, allocations: 16 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1591, allocations: 0 / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.1592, allocations: 4.031 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1592, allocations: 4 kB / 473.6 MB, free: 9.484 MB / 350.1 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 0.0001414/0.1593, allocations: 125.8 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.1594, allocations: 11.81 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.1594, allocations: 12.31 kB / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1594, allocations: 0 / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/0.1594, allocations: 3.984 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1594, allocations: 3.938 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.1596, allocations: 185.6 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1596, allocations: 4 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.1596, allocations: 4.312 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1597, allocations: 0 / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1597, allocations: 0 / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1597, allocations: 4 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1597, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.1599, allocations: 109 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.1599, allocations: 85.02 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.16, allocations: 7.984 kB / 474.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.16, allocations: 4 kB / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.16, allocations: 0 / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1601, allocations: 4 kB / 474.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1602, allocations: 139.1 kB / 474.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.186e-06/0.1602, allocations: 0 / 474.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.1604, allocations: 19.94 kB / 474.4 MB, free: 8.676 MB / 350.1 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.000965/0.1614, allocations: 412.1 kB / 474.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.1616, allocations: 39.98 kB / 474.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1616, allocations: 0 / 474.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.1616, allocations: 23.92 kB / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1619, allocations: 29.34 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.1624, allocations: 199.8 kB / 475 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1627, allocations: 0.7004 MB / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.668e-05/0.1627, allocations: 12.42 kB / 475.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.1628, allocations: 15.42 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.675e-06/0.1628, allocations: 4 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of Templates: time 0.004236/0.167, allocations: 1.429 MB / 477.2 MB, free: 5.938 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches