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.0009221/0.0009269, allocations: 94.47 kB / 17.35 MB, free: 6.344 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.001101/0.001102, allocations: 171.4 kB / 18.25 MB, free: 5.504 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.469/1.469, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2365/0.2365, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 12 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002122/0.1752, allocations: 1.417 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1773, allocations: 1.433 MB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.1774, allocations: 7.938 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1777, allocations: 35.89 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.1779, allocations: 43.84 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1782, allocations: 91.77 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1783, allocations: 99.67 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1785, allocations: 8.234 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.1785, allocations: 35.8 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1787, allocations: 35.83 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1787, allocations: 4 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1789, allocations: 55.92 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.1789, allocations: 19.91 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.179, allocations: 61.48 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.1792, allocations: 112 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1792, allocations: 4 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1792, allocations: 0 / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1793, allocations: 3.938 kB / 475.7 MB, free: 9.84 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.0005081/0.1798, allocations: 387.3 kB / 476.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1798, allocations: 8.031 kB / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.1799, allocations: 12.75 kB / 476.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1801, allocations: 214.3 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1802, allocations: 384 / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1802, allocations: 4.125 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1804, allocations: 75.39 kB / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1804, allocations: 0 / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1804, allocations: 0 / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1804, allocations: 4 kB / 476.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/0.1805, allocations: 19.92 kB / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.1808, allocations: 284.8 kB / 476.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.181, allocations: 58.67 kB / 476.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.1811, allocations: 20.84 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1811, allocations: 4 kB / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.1813, allocations: 67.33 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1813, allocations: 3.938 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000529/0.1819, allocations: 177.2 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1819, allocations: 81.11 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1821, allocations: 148.2 kB / 477.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1821, allocations: 29.7 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.1822, allocations: 96.12 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1822, allocations: 19.72 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1822, allocations: 17.7 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1823, allocations: 326.8 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.1824, allocations: 16 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.1825, allocations: 46.56 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1826, allocations: 69.69 kB / 477.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1826, allocations: 0 / 477.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.1828, allocations: 89.59 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1828, allocations: 14.33 kB / 478 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1828, allocations: 0 / 478 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1829, allocations: 4.062 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.183, allocations: 15.94 kB / 478 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.183, allocations: 4 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.183, allocations: 11.88 kB / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.183, allocations: 8.172 kB / 478 MB, free: 7.305 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 0.0001249/0.1832, allocations: 117.8 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.1832, allocations: 11.84 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.1832, allocations: 12.72 kB / 478.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1833, allocations: 4.375 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1833, allocations: 3.984 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1833, allocations: 3.938 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.1837, allocations: 395.2 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1837, allocations: 0 / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.1837, allocations: 8 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1837, allocations: 0 / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1838, allocations: 15.86 kB / 478.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1838, allocations: 4.031 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1838, allocations: 0 / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.184, allocations: 196.3 kB / 478.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.184, allocations: 89.02 kB / 478.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.1841, allocations: 15.84 kB / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.1842, allocations: 4 kB / 478.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1842, allocations: 8 kB / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1842, allocations: 11.98 kB / 478.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.315e-05/0.1843, allocations: 111.3 kB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1843, allocations: 0 / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1846, allocations: 31.98 kB / 479 MB, free: 6.172 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.001185/0.1858, allocations: 0.494 MB / 479.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.186, allocations: 55.97 kB / 479.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.186, allocations: 4.062 kB / 479.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.1861, allocations: 39.86 kB / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1864, allocations: 19.98 kB / 479.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.1868, allocations: 214 kB / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1871, allocations: 0.6926 MB / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.912e-05/0.1872, allocations: 25.17 kB / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.1872, allocations: 23.36 kB / 480.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1872, allocations: 0 / 480.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of Templates: time 0.004918/0.1921, allocations: 1.875 MB / 482.5 MB, free: 2.883 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