Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 97.25 kB / 16.02 MB, free: 84 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.001528/0.001528, allocations: 178.6 kB / 16.92 MB, free: 6.68 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.185/2.185, allocations: 205.4 MB / 223.1 MB, free: 5.734 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.4292/0.4292, allocations: 43.58 MB / 315 MB, free: 8.91 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.0008858/0.0008859, allocations: 20 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1638, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002212/0.1661, allocations: 1.414 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1674, allocations: 0.773 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.1675, allocations: 4 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1678, allocations: 39.88 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.168, allocations: 51.77 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1682, allocations: 71.86 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1684, allocations: 99.67 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1685, allocations: 16.22 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.1686, allocations: 35.8 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.1687, allocations: 35.83 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1687, allocations: 0 / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.1688, allocations: 39.92 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.1688, allocations: 23.86 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.1689, allocations: 61.44 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.1691, allocations: 111.9 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1691, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1691, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1691, allocations: 4 kB / 446.2 MB, free: 10.11 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.0005073/0.1696, allocations: 407 kB / 446.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1697, allocations: 8.031 kB / 446.6 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1697, allocations: 8.844 kB / 446.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.17, allocations: 208.7 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.17, allocations: 4.312 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.17, allocations: 8.125 kB / 446.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1702, allocations: 53.67 kB / 446.9 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1702, allocations: 4 kB / 446.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1702, allocations: 0 / 446.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1703, allocations: 0 / 446.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.1703, allocations: 23.98 kB / 446.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1707, allocations: 284.9 kB / 447.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.1709, allocations: 62.59 kB / 447.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.171, allocations: 28.84 kB / 447.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.171, allocations: 0 / 447.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1712, allocations: 67.39 kB / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1712, allocations: 0 / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005067/0.1717, allocations: 177.1 kB / 447.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1718, allocations: 59.41 kB / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1719, allocations: 191.3 kB / 447.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.172, allocations: 29.7 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.172, allocations: 104.1 kB / 447.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.172, allocations: 19.72 kB / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.1721, allocations: 13.72 kB / 447.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1722, allocations: 326.8 kB / 448.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.1723, allocations: 27.92 kB / 448.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.1724, allocations: 37.7 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1725, allocations: 61.78 kB / 448.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1725, allocations: 3.938 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.1727, allocations: 105.6 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1727, allocations: 8 kB / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1727, allocations: 3.938 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1727, allocations: 0 / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.1728, allocations: 20.02 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1728, allocations: 4 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.1729, allocations: 7.938 kB / 448.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1729, allocations: 4 kB / 448.5 MB, free: 7.555 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 (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 0.0001213/0.173, allocations: 129.7 kB / 448.7 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1731, allocations: 11.91 kB / 448.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.1731, allocations: 17.39 kB / 448.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1731, allocations: 0 / 448.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1731, allocations: 0 / 448.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1732, allocations: 11.94 kB / 448.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.1736, allocations: 391.2 kB / 449.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1736, allocations: 4 kB / 449.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.1737, allocations: 4 kB / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1737, allocations: 4 kB / 449.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1737, allocations: 11.92 kB / 449.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1737, allocations: 0 / 449.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1737, allocations: 4 kB / 449.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1739, allocations: 200.3 kB / 449.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.174, allocations: 92.92 kB / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.174, allocations: 7.922 kB / 449.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1741, allocations: 4 kB / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1742, allocations: 4 kB / 449.4 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.1742, allocations: 11.98 kB / 449.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1743, allocations: 148.9 kB / 449.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1743, allocations: 0 / 449.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1746, allocations: 27.98 kB / 449.6 MB, free: 6.383 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 (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.001216/0.1758, allocations: 480.6 kB / 450.1 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.176, allocations: 55.91 kB / 450.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.176, allocations: 4 kB / 450.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.1761, allocations: 27.94 kB / 450.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1765, allocations: 28.28 kB / 450.2 MB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.1771, allocations: 254.5 kB / 450.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1775, allocations: 0.7043 MB / 451.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.1775, allocations: 16.88 kB / 451.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.1776, allocations: 19.42 kB / 451.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1776, allocations: 3.938 kB / 451.2 MB, free: 4.785 MB / 382.1 MB Notification: Performance of Templates: time 0.00492/0.1825, allocations: 1.615 MB / 452.8 MB, free: 3.172 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches