Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5266/0.5266, allocations: 43.58 MB / 314.6 MB, free: 8.711 MB / 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.0006213/0.0006214, allocations: 15.94 kB / 384 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1555, allocations: 58.86 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002609/0.1582, allocations: 1.387 MB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1597, allocations: 0.7499 MB / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.1598, allocations: 0 / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.1601, allocations: 79.77 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.1603, allocations: 63.8 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1606, allocations: 87.77 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1608, allocations: 87.73 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1609, allocations: 16.2 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1611, allocations: 47.78 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1612, allocations: 47.81 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1612, allocations: 4 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.1613, allocations: 32 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.1614, allocations: 27.83 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.1615, allocations: 41.7 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1617, allocations: 84.05 kB / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1617, allocations: 0 / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1617, allocations: 3.938 kB / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1617, allocations: 0 / 445.6 MB, free: 10.26 MB / 382.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.0006033/0.1623, allocations: 406.8 kB / 446 MB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1624, allocations: 8.031 kB / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.1624, allocations: 15.81 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1627, allocations: 211.6 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1628, allocations: 0 / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.1628, allocations: 4 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.163, allocations: 53.67 kB / 446.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.163, allocations: 0 / 446.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.163, allocations: 3.938 kB / 446.3 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.163, allocations: 11.89 kB / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.757e-05/0.1631, allocations: 15.98 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.1635, allocations: 289 kB / 446.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1637, allocations: 54.67 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.1638, allocations: 20.8 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1638, allocations: 0 / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1641, allocations: 79.33 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.837e-06/0.1641, allocations: 0 / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006541/0.1647, allocations: 185 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1648, allocations: 55.41 kB / 447 MB, free: 8.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.165, allocations: 210.3 kB / 447.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1651, allocations: 25.7 kB / 447.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1652, allocations: 104.1 kB / 447.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1653, allocations: 27.66 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.1653, allocations: 4 kB / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1654, allocations: 326.8 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.1655, allocations: 15.98 kB / 447.7 MB, free: 7.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.1656, allocations: 37.7 kB / 447.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.135e-05/0.1657, allocations: 27.94 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1657, allocations: 0 / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.1659, allocations: 101.5 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1659, allocations: 4 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1659, allocations: 4 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1659, allocations: 0 / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1661, allocations: 19.92 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1661, allocations: 0 / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.1661, allocations: 11.91 kB / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1662, allocations: 4 kB / 447.9 MB, free: 7.742 MB / 382.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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.1663, allocations: 133.8 kB / 448 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.1664, allocations: 15.86 kB / 448 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.1664, allocations: 13.41 kB / 448 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1664, allocations: 4 kB / 448 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1664, allocations: 0 / 448 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1665, allocations: 3.984 kB / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1669, allocations: 395.3 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1669, allocations: 0 / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.167, allocations: 12.22 kB / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.167, allocations: 0 / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.167, allocations: 7.938 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.167, allocations: 3.984 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.167, allocations: 3.938 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1673, allocations: 208.2 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.1674, allocations: 88.97 kB / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1674, allocations: 4 kB / 448.7 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.1675, allocations: 16.3 kB / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1675, allocations: 4 kB / 448.8 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1676, allocations: 8 kB / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1677, allocations: 160.2 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1677, allocations: 0 / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.168, allocations: 24 kB / 448.9 MB, free: 6.555 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.1691, allocations: 468.9 kB / 449.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1693, allocations: 51.97 kB / 449.4 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1693, allocations: 0 / 449.4 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.429e-05/0.1694, allocations: 36.05 kB / 449.5 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1698, allocations: 23.89 kB / 449.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.1704, allocations: 262.1 kB / 449.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.1708, allocations: 0.7043 MB / 450.5 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.157e-05/0.1709, allocations: 12.88 kB / 450.5 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.979e-05/0.171, allocations: 15.44 kB / 450.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.171, allocations: 0 / 450.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of Templates: time 0.00472/0.1757, allocations: 1.603 MB / 452.1 MB, free: 3.371 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches