Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001091/0.001091, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001131/0.001131, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.969/0.969, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2676/0.2676, allocations: 32.8 MB / 294.6 MB, free: 1.195 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.088e-05, allocations: 3.672 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005925/0.005946, allocations: 2.004 MB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004521/0.01047, allocations: 1.044 MB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.01056, allocations: 3.938 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.01084, allocations: 47.62 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.0111, allocations: 99.42 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.01132, allocations: 95.58 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.01152, allocations: 152.1 kB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.01163, allocations: 22.45 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.01174, allocations: 79.8 kB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.01183, allocations: 35.84 kB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.01185, allocations: 8 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.01195, allocations: 51.91 kB / 327 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.012, allocations: 23.92 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.01205, allocations: 35.84 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.01226, allocations: 131.4 kB / 327.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.01226, allocations: 0 / 327.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01226, allocations: 0 / 327.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.01227, allocations: 0 / 327.2 MB, free: 5.77 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.0004586/0.01273, allocations: 382.9 kB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.01276, allocations: 12.03 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.0128, allocations: 20.86 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.01299, allocations: 166.3 kB / 327.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.01301, allocations: 8.359 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.01304, allocations: 12.33 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.01621, allocations: 133.9 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01622, allocations: 3.938 kB / 327.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.01623, allocations: 4 kB / 327.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.01624, allocations: 4 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.01628, allocations: 22.81 kB / 327.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.01665, allocations: 370 kB / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.01682, allocations: 109.3 kB / 328.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.01685, allocations: 20.84 kB / 328.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.01686, allocations: 3.938 kB / 328.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.01698, allocations: 99.89 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.01698, allocations: 0 / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001599/0.01714, allocations: 81.59 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.01718, allocations: 55.41 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01732, allocations: 181.6 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.01734, allocations: 29.7 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.0174, allocations: 111.9 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.01742, allocations: 23.84 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.01746, allocations: 25.7 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.01755, allocations: 330.7 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.01758, allocations: 18.81 kB / 329.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.01762, allocations: 56.95 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/0.0177, allocations: 69.86 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.0177, allocations: 0 / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001174/0.01782, allocations: 88.36 kB / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01783, allocations: 8 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01784, allocations: 0 / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.01785, allocations: 8.125 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.01792, allocations: 19.98 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.01793, allocations: 7.938 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.01797, allocations: 15.88 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.01798, allocations: 11.94 kB / 329.6 MB, free: 3.066 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.868e-05/0.01806, allocations: 123 kB / 329.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.01808, allocations: 7.984 kB / 329.7 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.0182, allocations: 79.55 kB / 329.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.0182, allocations: 3.984 kB / 329.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.0182, allocations: 0 / 329.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0182, allocations: 4 kB / 329.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.956e-05/0.0183, allocations: 93.81 kB / 329.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01831, allocations: 7.922 kB / 329.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.01836, allocations: 12 kB / 329.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.01836, allocations: 0 / 329.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.01837, allocations: 8 kB / 329.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01837, allocations: 0 / 329.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01837, allocations: 0 / 329.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.01851, allocations: 123.5 kB / 330.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.01853, allocations: 19.78 kB / 330.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.01855, allocations: 4.031 kB / 330.1 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.355e-05/0.01858, allocations: 7.984 kB / 330.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.01862, allocations: 15.97 kB / 330.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.01863, allocations: 0 / 330.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.74e-05/0.01869, allocations: 60.17 kB / 330.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01869, allocations: 0 / 330.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.01887, allocations: 24 kB / 330.2 MB, free: 2.426 MB / 298.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.001234/0.0201, allocations: 0.498 MB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.0202, allocations: 56.77 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.0202, allocations: 0 / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.02023, allocations: 24.8 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.02038, allocations: 47.09 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.02071, allocations: 258.9 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.02075, allocations: 71.83 kB / 331.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.346e-05/0.02079, allocations: 29.7 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.02086, allocations: 71.36 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02086, allocations: 0 / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of Templates: time 0.003579/0.02444, allocations: 2.193 MB / 333.4 MB, free: 15.44 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.02895651711151]