Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003476/0.003476, allocations: 164.1 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8757/0.8757, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 32.8 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.298e-05, allocations: 8.25 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002491/0.002514, allocations: 1.716 MB / 442.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.004252, allocations: 1.668 MB / 444.3 MB, free: 252 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.55e-05/0.004347, allocations: 0 / 444.3 MB, free: 252 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.004665, allocations: 43.7 kB / 444.4 MB, free: 208 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.005046, allocations: 103.4 kB / 444.5 MB, free: 104 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.00525, allocations: 83.59 kB / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1775/0.1827, allocations: 103.1 kB / 444.6 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1828, allocations: 7.516 kB / 444.7 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.1829, allocations: 58.67 kB / 444.7 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.183, allocations: 32.25 kB / 444.7 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.183, allocations: 7.609 kB / 444.7 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.1832, allocations: 103.2 kB / 444.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.1833, allocations: 27.48 kB / 444.9 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.1833, allocations: 21.42 kB / 444.9 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1836, allocations: 184.2 kB / 445.1 MB, free: 43.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.1836, allocations: 0 / 445.1 MB, free: 43.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1836, allocations: 0 / 445.1 MB, free: 43.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1836, allocations: 3.062 kB / 445.1 MB, free: 43.97 MB / 410.7 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.0003842/0.184, allocations: 353.3 kB / 445.4 MB, free: 43.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.184, allocations: 9.188 kB / 445.4 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.184, allocations: 7.859 kB / 445.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1842, allocations: 147.8 kB / 445.6 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1842, allocations: 5 kB / 445.6 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1843, allocations: 9.422 kB / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1844, allocations: 100.2 kB / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1844, allocations: 0 / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1844, allocations: 5.719 kB / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1844, allocations: 2.875 kB / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.1844, allocations: 20.23 kB / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.1847, allocations: 224.2 kB / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1848, allocations: 70.06 kB / 446 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.1848, allocations: 16.8 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1848, allocations: 2.812 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.524e-05/0.1849, allocations: 71.75 kB / 446.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1849, allocations: 0 / 446.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003724/0.1853, allocations: 175.8 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.1853, allocations: 80.39 kB / 446.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.1854, allocations: 167.8 kB / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.1854, allocations: 28.05 kB / 446.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.1855, allocations: 101 kB / 446.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1855, allocations: 26.67 kB / 446.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1855, allocations: 28.91 kB / 446.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.418e-05/0.1855, allocations: 328.9 kB / 447 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.1856, allocations: 18.62 kB / 447 MB, free: 42.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.1856, allocations: 74.45 kB / 447.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/0.1857, allocations: 69.67 kB / 447.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1857, allocations: 0 / 447.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.799e-05/0.1858, allocations: 108 kB / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1858, allocations: 4.125 kB / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1858, allocations: 2.781 kB / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1858, allocations: 0 / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.1859, allocations: 20.38 kB / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1859, allocations: 4.062 kB / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.1859, allocations: 6.281 kB / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1859, allocations: 2.844 kB / 447.3 MB, free: 42.35 MB / 410.7 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 4.59e-05/0.1859, allocations: 130.1 kB / 447.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.186, allocations: 9.203 kB / 447.5 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1861, allocations: 119.2 kB / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1861, allocations: 0 / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.1861, allocations: 0 / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1861, allocations: 1.5 kB / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.1863, allocations: 355.2 kB / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1863, allocations: 3.562 kB / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.1863, allocations: 11.28 kB / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1863, allocations: 2.625 kB / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.1863, allocations: 0 / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1863, allocations: 2.688 kB / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1863, allocations: 0 / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.1864, allocations: 216.1 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.1865, allocations: 6.578 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1865, allocations: 9.938 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.1865, allocations: 9.625 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.1865, allocations: 5.969 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1866, allocations: 6.719 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.249e-05/0.1866, allocations: 135.8 kB / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1866, allocations: 0 / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.1868, allocations: 53.41 kB / 448.4 MB, free: 41.7 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0008269/0.1876, allocations: 0.5955 MB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1877, allocations: 58.72 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1877, allocations: 3.938 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/0.1878, allocations: 28.39 kB / 449.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.188, allocations: 32.17 kB / 449.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.1883, allocations: 226.8 kB / 449.3 MB, free: 41.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.1883, allocations: 101.2 kB / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1883, allocations: 20.73 kB / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1883, allocations: 0 / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of Templates: time 0.002563/0.1909, allocations: 2.478 MB / 451.9 MB, free: 40.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.071006920188665]