Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009345/0.0009345, allocations: 96.94 kB / 16.02 MB, free: 80 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.0009513/0.0009508, allocations: 184.9 kB / 16.92 MB, free: 6.934 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.092/2.092, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.5191/0.5191, allocations: 43.57 MB / 315 MB, free: 9.09 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.0005863/0.0005865, allocations: 19.98 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1555, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002256/0.1578, allocations: 1.383 MB / 444.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1594, allocations: 0.7613 MB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.88e-05/0.1595, allocations: 0 / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1599, allocations: 51.81 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1601, allocations: 55.81 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1604, allocations: 83.83 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1606, allocations: 91.7 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.448e-05/0.1607, allocations: 7.984 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1608, allocations: 39.78 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1609, allocations: 43.83 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1609, allocations: 4 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.922e-05/0.1611, allocations: 27.98 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1611, allocations: 23.84 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.1612, allocations: 53.52 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1615, allocations: 99.91 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1615, allocations: 0 / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1615, allocations: 0 / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1615, allocations: 0 / 446.2 MB, free: 10.17 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005562/0.1621, allocations: 395.1 kB / 446.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1621, allocations: 8.031 kB / 446.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.1622, allocations: 8.844 kB / 446.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1624, allocations: 212 kB / 446.8 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1624, allocations: 384 / 446.8 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1625, allocations: 16.06 kB / 446.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1626, allocations: 45.67 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1626, allocations: 7.875 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1627, allocations: 0 / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1627, allocations: 4 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.1627, allocations: 15.98 kB / 446.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.163, allocations: 177.7 kB / 447 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1632, allocations: 54.56 kB / 447.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.1632, allocations: 24.78 kB / 447.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1632, allocations: 0 / 447.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1634, allocations: 67.39 kB / 447.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1635, allocations: 0 / 447.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002925/0.1638, allocations: 93.58 kB / 447.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1638, allocations: 59.34 kB / 447.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.164, allocations: 182.2 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.164, allocations: 29.7 kB / 447.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1641, allocations: 96.14 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.1642, allocations: 19.78 kB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1642, allocations: 13.72 kB / 447.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1643, allocations: 322.8 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.1644, allocations: 12 kB / 448 MB, free: 8.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.1644, allocations: 33.7 kB / 448 MB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.1645, allocations: 41.7 kB / 448.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1646, allocations: 4 kB / 448.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001539/0.1647, allocations: 81.47 kB / 448.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1647, allocations: 4 kB / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1648, allocations: 0 / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1648, allocations: 8.031 kB / 448.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.1649, allocations: 11.98 kB / 448.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1649, allocations: 0 / 448.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1649, allocations: 11.84 kB / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1649, allocations: 0 / 448.2 MB, free: 7.914 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 ($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.000114/0.1651, allocations: 137.8 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.1651, allocations: 7.906 kB / 448.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.1651, allocations: 8.312 kB / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1651, allocations: 0 / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1651, allocations: 4 kB / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1652, allocations: 3.984 kB / 448.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1653, allocations: 193.5 kB / 448.5 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1653, allocations: 0 / 448.5 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.1653, allocations: 4 kB / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1653, allocations: 0 / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1654, allocations: 0 / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1654, allocations: 320 / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1654, allocations: 3.938 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.1656, allocations: 124.9 kB / 448.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.1656, allocations: 88.91 kB / 448.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1656, allocations: 8 kB / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.1657, allocations: 0 / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.1657, allocations: 4 kB / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1657, allocations: 3.984 kB / 448.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1659, allocations: 144.1 kB / 448.9 MB, free: 7.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1659, allocations: 0 / 448.9 MB, free: 7.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.1661, allocations: 16 kB / 448.9 MB, free: 7.086 MB / 382.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.0009428/0.167, allocations: 422.1 kB / 449.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.1672, allocations: 43.92 kB / 449.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1672, allocations: 3.938 kB / 449.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.1673, allocations: 16 kB / 449.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.1676, allocations: 27.91 kB / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.168, allocations: 213.3 kB / 449.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1683, allocations: 0.7005 MB / 450.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.1683, allocations: 20.39 kB / 450.3 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.1683, allocations: 15.44 kB / 450.4 MB, free: 5.613 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1684, allocations: 0 / 450.4 MB, free: 5.613 MB / 382.1 MB Notification: Performance of Templates: time 0.00507/0.1734, allocations: 1.397 MB / 451.8 MB, free: 4.219 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches