Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 81.11 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1731, allocations: 62.45 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003395/0.1766, allocations: 1.676 MB / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1785, allocations: 1.009 MB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1787, allocations: 0 / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.1792, allocations: 87.69 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.1797, allocations: 111.6 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.1801, allocations: 75.67 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.1804, allocations: 107.7 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.1804, allocations: 16.22 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.1806, allocations: 51.77 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1807, allocations: 47.84 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1807, allocations: 4 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1809, allocations: 35.97 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.181, allocations: 23.86 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.181, allocations: 35.69 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1813, allocations: 111.9 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1813, allocations: 0 / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1813, allocations: 4 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1813, allocations: 4 kB / 483.4 MB, free: 1.879 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006242/0.182, allocations: 410.9 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.182, allocations: 12.03 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.1821, allocations: 12.75 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1824, allocations: 208.1 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1824, allocations: 4.312 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1824, allocations: 16.12 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1826, allocations: 49.61 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1826, allocations: 4 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1826, allocations: 0 / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1826, allocations: 4 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.1827, allocations: 15.98 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.1829, allocations: 181.6 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1831, allocations: 54.55 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.025e-05/0.1831, allocations: 28.8 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1832, allocations: 7.984 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1834, allocations: 63.3 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1834, allocations: 0 / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002832/0.1837, allocations: 93.58 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1837, allocations: 55.34 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1839, allocations: 224.3 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.184, allocations: 25.7 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.184, allocations: 108.1 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.1841, allocations: 19.73 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.1841, allocations: 17.72 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1842, allocations: 326.8 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.1843, allocations: 15.98 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.1844, allocations: 21.72 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1845, allocations: 49.7 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1845, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001685/0.1847, allocations: 81.47 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1847, allocations: 11.98 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1847, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1847, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.1848, allocations: 8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1848, allocations: 7.969 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.1849, allocations: 7.906 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1849, allocations: 4.312 kB / 485.5 MB, free: 15.54 MB / 366.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.0001244/0.185, allocations: 129.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.1851, allocations: 11.91 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.1851, allocations: 16.98 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1851, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.1851, allocations: 7.984 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.1852, allocations: 7.938 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1853, allocations: 197.5 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1853, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.1854, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1854, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1854, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1854, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1854, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.1856, allocations: 116.8 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.1857, allocations: 89.02 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1857, allocations: 0 / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.1857, allocations: 7.922 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1858, allocations: 8 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1858, allocations: 0 / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.186, allocations: 165.2 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.186, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1862, allocations: 20 kB / 486.3 MB, free: 14.67 MB / 366.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.000905/0.1871, allocations: 398.7 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1873, allocations: 47.86 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1873, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.1874, allocations: 19.98 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.1876, allocations: 29.92 kB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.1881, allocations: 238.2 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1884, allocations: 0.7002 MB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.1885, allocations: 16.53 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.1885, allocations: 19.44 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-05/0.1886, allocations: 0 / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004437/0.193, allocations: 1.51 MB / 489.3 MB, free: 11.8 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches