Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008312/0.0008312, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003782/0.003782, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9018/0.9018, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2528/0.2528, allocations: 34.24 MB / 295.6 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.138e-05, allocations: 6.219 kB / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.1801/0.1801, allocations: 1.671 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.181, allocations: 0.9581 MB / 446.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.1811, allocations: 6.5 kB / 446.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.1813, allocations: 57.62 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1816, allocations: 96.11 kB / 446.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.735e-05/0.1817, allocations: 79.23 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.1818, allocations: 102.4 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.1818, allocations: 5.172 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.1819, allocations: 51.22 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.1819, allocations: 30.05 kB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1819, allocations: 2.938 kB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.617e-05/0.182, allocations: 32.91 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.1821, allocations: 30.56 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.1821, allocations: 20.7 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1822, allocations: 118.9 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1822, allocations: 1.938 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1822, allocations: 3.938 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1822, allocations: 0.6562 kB / 446.8 MB, free: 42.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003499/0.1826, allocations: 361.6 kB / 447.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1826, allocations: 11.62 kB / 447.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1826, allocations: 14.69 kB / 447.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.1828, allocations: 169.4 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.1828, allocations: 384 / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.1828, allocations: 3.25 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.1829, allocations: 51.86 kB / 447.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1829, allocations: 192 / 447.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1829, allocations: 384 / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1829, allocations: 3.938 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.183, allocations: 22.36 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.1831, allocations: 142.3 kB / 447.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.856e-05/0.1832, allocations: 53.72 kB / 447.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.1832, allocations: 17.78 kB / 447.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1832, allocations: 2.938 kB / 447.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.636e-05/0.1833, allocations: 71.36 kB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1833, allocations: 0 / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001642/0.1835, allocations: 101.9 kB / 447.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.1835, allocations: 55.34 kB / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1837, allocations: 272.8 kB / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.1837, allocations: 30.2 kB / 448.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.1837, allocations: 113.2 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1837, allocations: 18.39 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.1838, allocations: 16.81 kB / 448.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.1838, allocations: 332 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.1838, allocations: 14.81 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.1839, allocations: 32.11 kB / 448.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.1839, allocations: 45.36 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1839, allocations: 0 / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.805e-05/0.184, allocations: 91.67 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.184, allocations: 5.812 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.184, allocations: 0 / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.184, allocations: 0 / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.1841, allocations: 22.38 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1841, allocations: 2.578 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.1841, allocations: 14.75 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.1841, allocations: 6.938 kB / 448.8 MB, free: 41.28 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 (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 5.488e-05/0.1842, allocations: 131.7 kB / 448.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.1842, allocations: 20.98 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1843, allocations: 98.14 kB / 449.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1843, allocations: 2.875 kB / 449.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1843, allocations: 3.938 kB / 449.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1843, allocations: 4 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.025e-05/0.1844, allocations: 153.5 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1844, allocations: 0 / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.1844, allocations: 2.656 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.1844, allocations: 2.875 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.1844, allocations: 0 / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1844, allocations: 3.312 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.1844, allocations: 0 / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.938e-05/0.1845, allocations: 131.6 kB / 449.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.1845, allocations: 10.53 kB / 449.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1845, allocations: 2.469 kB / 449.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.1845, allocations: 11.28 kB / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.1845, allocations: 6.875 kB / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1845, allocations: 2.562 kB / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.195e-05/0.1846, allocations: 208.8 kB / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1846, allocations: 0 / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001312/0.1848, allocations: 22 kB / 449.6 MB, free: 40.72 MB / 410.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0005977/0.1854, allocations: 426.8 kB / 450 MB, free: 40.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.254e-05/0.1854, allocations: 42.09 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1854, allocations: 6.875 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.1855, allocations: 18.88 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.1856, allocations: 28.59 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.1859, allocations: 300.2 kB / 450.4 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.679e-05/0.186, allocations: 106.2 kB / 450.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.186, allocations: 22.28 kB / 450.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.186, allocations: 0 / 450.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of Templates: time 0.002078/0.1881, allocations: 1.935 MB / 452.5 MB, free: 40.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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: 4.931703573092818]