Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001846/0.001846, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00214/0.00214, allocations: 164 kB / 23.96 MB, free: 4.145 MB / 14.72 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 1.408/1.408, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.2029/0.2029, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 440.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.338e-05, allocations: 2.281 kB / 440.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002816/0.002839, allocations: 1.673 MB / 441.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.004543, allocations: 0.9548 MB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.004608, allocations: 0 / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.004889, allocations: 59.69 kB / 442.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.005189, allocations: 95.55 kB / 442.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.005358, allocations: 79.59 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.00553, allocations: 103.6 kB / 443.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.005566, allocations: 4.219 kB / 443.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.005677, allocations: 59.78 kB / 443.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.005758, allocations: 23.92 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.005778, allocations: 4 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.005862, allocations: 35.91 kB / 443.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.005925, allocations: 27.92 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.005969, allocations: 19.88 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.00617, allocations: 115.6 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.006172, allocations: 0 / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006173, allocations: 0 / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.006176, allocations: 0 / 443.4 MB, free: 4.832 MB / 366.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.0005586/0.006735, allocations: 373.3 kB / 443.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.006767, allocations: 8.031 kB / 443.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.006828, allocations: 24.84 kB / 443.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.007058, allocations: 158.4 kB / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.007071, allocations: 384 / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.007086, allocations: 8.359 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.007226, allocations: 46.25 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.007238, allocations: 3.938 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.007251, allocations: 7.984 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.007255, allocations: 0 / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.007326, allocations: 19.98 kB / 444 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.00751, allocations: 133.3 kB / 444.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.007684, allocations: 54.55 kB / 444.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.007741, allocations: 20.84 kB / 444.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.007758, allocations: 0 / 444.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.007921, allocations: 71.38 kB / 444.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.007922, allocations: 0 / 444.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003045/0.008227, allocations: 109.4 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.008269, allocations: 55.41 kB / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.008561, allocations: 280.1 kB / 444.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.00858, allocations: 25.7 kB / 444.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.008663, allocations: 116.1 kB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.008697, allocations: 15.84 kB / 444.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.008734, allocations: 17.72 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.008896, allocations: 334.8 kB / 445.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.008947, allocations: 12 kB / 445.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.009008, allocations: 25.7 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.009127, allocations: 53.64 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.009128, allocations: 0 / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001661/0.009294, allocations: 89.58 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.009309, allocations: 8 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.009315, allocations: 3.938 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.009328, allocations: 3.938 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.009399, allocations: 11.94 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.009407, allocations: 4.469 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.009449, allocations: 0 / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.009462, allocations: 11.98 kB / 445.5 MB, free: 2.582 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.000115/0.009577, allocations: 138.5 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.0096, allocations: 11.91 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.00982, allocations: 106.8 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009821, allocations: 0 / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.009827, allocations: 3.984 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.00983, allocations: 3.938 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.009967, allocations: 141.2 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.009968, allocations: 0 / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.009999, allocations: 11.92 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01, allocations: 0 / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01001, allocations: 8 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01001, allocations: 3.938 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01001, allocations: 0 / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.01021, allocations: 117 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.01024, allocations: 11.91 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.01026, allocations: 4 kB / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.427e-05/0.0103, allocations: 11.92 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.01033, allocations: 0 / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.01035, allocations: 4 kB / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.01054, allocations: 212.4 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01054, allocations: 7.938 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002095/0.01075, allocations: 15.94 kB / 446.3 MB, free: 1.723 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.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.001547/0.0123, allocations: 444.2 kB / 446.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.01246, allocations: 43.97 kB / 446.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01246, allocations: 0 / 446.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.01252, allocations: 19.94 kB / 446.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01278, allocations: 33.52 kB / 446.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.01327, allocations: 281.7 kB / 447.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.982e-05/0.01337, allocations: 101.7 kB / 447.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.111e-05/0.01341, allocations: 12.48 kB / 447.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.01345, allocations: 16.5 kB / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.01345, allocations: 0 / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of Templates: time 0.1746/0.188, allocations: 1.64 MB / 448.8 MB, free: 21.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.512358587235212]