Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001164/0.001164, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001425/0.001425, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9562/0.9562, allocations: 177 MB / 205.2 MB, free: 5.035 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.3112/0.3112, allocations: 34.86 MB / 296.6 MB, free: 412 kB / 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.508e-05, allocations: 2.312 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003297/0.003312, allocations: 1.957 MB / 328 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.005065, allocations: 1.044 MB / 329 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.922e-05/0.005164, allocations: 4 kB / 329 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.005457, allocations: 47.64 kB / 329 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.005729, allocations: 99.42 kB / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.005918, allocations: 99.58 kB / 329.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.006098, allocations: 152.3 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.006193, allocations: 26.44 kB / 329.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.00629, allocations: 75.75 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.006381, allocations: 39.83 kB / 329.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.006398, allocations: 8 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.006482, allocations: 51.92 kB / 329.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.006538, allocations: 31.84 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.006586, allocations: 23.92 kB / 329.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.006777, allocations: 135.4 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.006779, allocations: 3.938 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006779, allocations: 0 / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.006784, allocations: 0 / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004237/0.007207, allocations: 383.1 kB / 330.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.007241, allocations: 12.03 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.007278, allocations: 12.92 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.007451, allocations: 170.3 kB / 330.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.007464, allocations: 4.375 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.007485, allocations: 12.33 kB / 330.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.007645, allocations: 126 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.007652, allocations: 4.125 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.007662, allocations: 8.375 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.007666, allocations: 3.938 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.75e-05/0.007704, allocations: 27.81 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.008028, allocations: 382.1 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.008178, allocations: 101.3 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.008202, allocations: 20.8 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.008214, allocations: 4 kB / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.103e-05/0.008305, allocations: 91.84 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.008306, allocations: 0 / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001255/0.008431, allocations: 81.59 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.008458, allocations: 55.41 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008586, allocations: 189.6 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.008606, allocations: 29.7 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.008666, allocations: 111.9 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.00869, allocations: 27.83 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.008734, allocations: 25.7 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.008829, allocations: 330.8 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.00885, allocations: 14.83 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.008882, allocations: 40.28 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.082e-05/0.008952, allocations: 77.78 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008954, allocations: 0 / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.789e-05/0.009052, allocations: 94.09 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.009062, allocations: 4 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.009068, allocations: 4 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.009077, allocations: 3.984 kB / 332.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.009141, allocations: 16 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.009146, allocations: 8.125 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.009181, allocations: 15.88 kB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.009188, allocations: 8 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.217e-05/0.00926, allocations: 120.6 kB / 332.3 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.009275, allocations: 15.92 kB / 332.4 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.00938, allocations: 79.06 kB / 332.4 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.009381, allocations: 0 / 332.4 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.009383, allocations: 0 / 332.4 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.009387, allocations: 3.984 kB / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.00949, allocations: 109.7 kB / 332.5 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009491, allocations: 4 kB / 332.5 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.009533, allocations: 8 kB / 332.6 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.009536, allocations: 3.938 kB / 332.6 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.009547, allocations: 8 kB / 332.6 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.009547, allocations: 0 / 332.6 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009548, allocations: 0 / 332.6 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.009704, allocations: 114.7 kB / 332.7 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.009724, allocations: 11.91 kB / 332.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.009747, allocations: 7.938 kB / 332.7 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.009791, allocations: 7.984 kB / 332.7 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.009827, allocations: 16.02 kB / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.00984, allocations: 128 / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.0099, allocations: 60.64 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0099, allocations: 3.938 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.01004, allocations: 24 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001162/0.0112, allocations: 0.4948 MB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.0113, allocations: 56.75 kB / 333.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.0113, allocations: 4.25 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.01134, allocations: 24.8 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.01149, allocations: 35.59 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.01182, allocations: 257.8 kB / 333.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.01186, allocations: 71.83 kB / 333.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.524e-05/0.01191, allocations: 17.47 kB / 333.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.01199, allocations: 79.36 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01199, allocations: 0 / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of Templates: time 0.003825/0.01581, allocations: 2.194 MB / 336 MB, free: 12.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9500249619595706]