Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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 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 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 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.Test73,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_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 108.1 kB / 17.03 MB, free: 5.66 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.001226/0.001226, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2579/0.2579, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002505, allocations: 65.89 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1488, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003509/0.1524, allocations: 1.833 MB / 443.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1537, allocations: 0.8896 MB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1538, allocations: 7.938 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.1543, allocations: 167.5 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.1546, allocations: 135.5 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.155, allocations: 150.9 kB / 445.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.1553, allocations: 211.4 kB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1555, allocations: 29.53 kB / 445.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1556, allocations: 103.5 kB / 445.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1558, allocations: 123.6 kB / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1559, allocations: 7.984 kB / 445.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.156, allocations: 43.98 kB / 445.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.1561, allocations: 43.78 kB / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.686e-05/0.1562, allocations: 75.47 kB / 445.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1564, allocations: 195.3 kB / 446 MB, free: 2.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1565, allocations: 0 / 446 MB, free: 2.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1565, allocations: 4 kB / 446 MB, free: 2.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1565, allocations: 0 / 446 MB, free: 2.129 MB / 318.1 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.0006146/0.1571, allocations: 0.5137 MB / 446.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1572, allocations: 15.89 kB / 446.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1572, allocations: 20.66 kB / 446.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.1575, allocations: 267.6 kB / 446.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1576, allocations: 4.375 kB / 446.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1576, allocations: 12.12 kB / 446.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1578, allocations: 103.3 kB / 446.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1578, allocations: 0 / 446.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1578, allocations: 0 / 446.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1579, allocations: 4 kB / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.158, allocations: 39.97 kB / 446.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1584, allocations: 444.8 kB / 447.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1587, allocations: 109.3 kB / 447.5 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.1587, allocations: 57.64 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1588, allocations: 3.984 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.159, allocations: 109 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.159, allocations: 0 / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009089/0.1599, allocations: 352 kB / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.16, allocations: 97.03 kB / 448.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.1604, allocations: 347 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1604, allocations: 33.7 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1605, allocations: 140.4 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.1606, allocations: 47.36 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.1606, allocations: 33.7 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1608, allocations: 334.8 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.1609, allocations: 47.94 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.161, allocations: 76.55 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.1612, allocations: 123.5 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1612, allocations: 0 / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003439/0.1616, allocations: 177.3 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1616, allocations: 9.25 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1616, allocations: 0 / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1617, allocations: 0 / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1618, allocations: 35.92 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1618, allocations: 3.938 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.1619, allocations: 11.98 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.1619, allocations: 8 kB / 449.5 MB, free: 14.32 MB / 334.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.1621, allocations: 153.8 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.1621, allocations: 35.59 kB / 449.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1622, allocations: 33.73 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1623, allocations: 4 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1623, allocations: 3.938 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1623, allocations: 0 / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009556/0.1632, allocations: 0.6163 MB / 450.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1633, allocations: 0.75 kB / 450.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.1634, allocations: 23.92 kB / 450.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1634, allocations: 0 / 450.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1634, allocations: 4 kB / 450.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1634, allocations: 4 kB / 450.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1634, allocations: 4 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.164, allocations: 371.9 kB / 450.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.1641, allocations: 96.83 kB / 450.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1641, allocations: 7.984 kB / 450.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1642, allocations: 8 kB / 450.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.1643, allocations: 11.98 kB / 450.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.1643, allocations: 7.938 kB / 450.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.1646, allocations: 269.9 kB / 451.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1646, allocations: 0 / 451.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.165, allocations: 39.98 kB / 451.1 MB, free: 12.54 MB / 334.1 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 (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.001134/0.1661, allocations: 474.9 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.1665, allocations: 115.8 kB / 451.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1665, allocations: 0 / 451.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1666, allocations: 59.91 kB / 451.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.1671, allocations: 66.75 kB / 451.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.1679, allocations: 438.7 kB / 452.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1683, allocations: 0.7476 MB / 453 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.883e-05/0.1684, allocations: 34.56 kB / 453.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.1685, allocations: 27.42 kB / 453.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1685, allocations: 0 / 453.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of Templates: time 0.006181/0.1747, allocations: 2.688 MB / 455.8 MB, free: 7.941 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches