Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 108.3 kB / 17.21 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.001522/0.001522, 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.501/1.501, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.2395/0.2395, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.81 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1478, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003485/0.1513, allocations: 1.761 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1538, allocations: 1.456 MB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.1539, allocations: 0 / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1543, allocations: 39.84 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.1545, allocations: 47.83 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1548, allocations: 91.77 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.155, allocations: 95.69 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1551, allocations: 8.219 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.1552, allocations: 47.73 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1553, allocations: 35.83 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1554, allocations: 4 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1555, allocations: 55.97 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.1556, allocations: 19.92 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.1556, allocations: 31.73 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1559, allocations: 116 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1559, allocations: 3.938 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1559, allocations: 0 / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1559, allocations: 0 / 472.3 MB, free: 11.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006291/0.1565, allocations: 399.2 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1566, allocations: 12.03 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.1566, allocations: 8.844 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1569, allocations: 207 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1569, allocations: 4.375 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.157, allocations: 8.125 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1571, allocations: 67.33 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1572, allocations: 11.98 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1572, allocations: 0 / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1572, allocations: 0 / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.822e-05/0.1573, allocations: 19.98 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1578, allocations: 276.9 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.158, allocations: 62.62 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.158, allocations: 20.84 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1581, allocations: 7.938 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.1583, allocations: 63.39 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1583, allocations: 0 / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005913/0.1589, allocations: 181.5 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.159, allocations: 81.11 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1591, allocations: 149.8 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1591, allocations: 25.7 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.1592, allocations: 96.12 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1592, allocations: 23.7 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.1593, allocations: 21.72 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1594, allocations: 334.7 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.184e-05/0.1595, allocations: 19.92 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.1596, allocations: 50.55 kB / 474.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1597, allocations: 61.78 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1597, allocations: 0 / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.1599, allocations: 97.52 kB / 474.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1599, allocations: 4 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1599, allocations: 0 / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.16, allocations: 8.062 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.1601, allocations: 16 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1601, allocations: 3.984 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.1601, allocations: 11.88 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1601, allocations: 0 / 474.6 MB, free: 8.461 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 (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.81e-05/0.1603, allocations: 121.8 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1603, allocations: 7.906 kB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.1603, allocations: 16.7 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1603, allocations: 0 / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1604, allocations: 8 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1604, allocations: 3.938 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.1608, allocations: 387.3 kB / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1608, allocations: 0 / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.1609, allocations: 11.98 kB / 475.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1609, allocations: 0 / 475.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1609, allocations: 3.938 kB / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1609, allocations: 4 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1609, allocations: 8.016 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1612, allocations: 212.3 kB / 475.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.1612, allocations: 81.02 kB / 475.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1613, allocations: 15.92 kB / 475.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.1613, allocations: 0 / 475.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1614, allocations: 4 kB / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1614, allocations: 11.98 kB / 475.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.1615, allocations: 113.5 kB / 475.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1615, allocations: 0 / 475.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1618, allocations: 31.98 kB / 475.7 MB, free: 7.332 MB / 350.1 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.001181/0.163, allocations: 0.4902 MB / 476.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1632, allocations: 63.84 kB / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1632, allocations: 0 / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.1633, allocations: 35.98 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1636, allocations: 23.98 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.164, allocations: 208.5 kB / 476.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1644, allocations: 0.7005 MB / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.207e-05/0.1645, allocations: 17.17 kB / 477.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.1645, allocations: 19.42 kB / 477.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1645, allocations: 0 / 477.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Templates: time 0.004875/0.1694, allocations: 1.897 MB / 479.1 MB, free: 4.031 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches