Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001022/0.001022, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001112/0.001112, allocations: 175.1 kB / 24.91 MB, free: 9.176 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2596/0.2596, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.695e-05, allocations: 6.219 kB / 323.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002254/0.00227, allocations: 1.798 MB / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004072, allocations: 1.742 MB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.004169, allocations: 0 / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.004518, allocations: 39.7 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.004784, allocations: 99.47 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.004918, allocations: 79.61 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.005073, allocations: 111.6 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.005161, allocations: 13.36 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.005245, allocations: 59.77 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.005352, allocations: 27.91 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.005368, allocations: 8 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.005532, allocations: 111.8 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.005581, allocations: 19.91 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.005614, allocations: 19.94 kB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.005831, allocations: 167.4 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005833, allocations: 0 / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005834, allocations: 0 / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005838, allocations: 4 kB / 327.6 MB, free: 5.242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003643/0.006202, allocations: 325.4 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.006235, allocations: 8.031 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.006261, allocations: 4.938 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.006418, allocations: 154 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.006434, allocations: 4.375 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.006451, allocations: 8.375 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.006572, allocations: 100.6 kB / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.006581, allocations: 4 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.006589, allocations: 3.984 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.006594, allocations: 4 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.006619, allocations: 10.83 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.006815, allocations: 169.8 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.006894, allocations: 85.36 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.006916, allocations: 16.78 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.006926, allocations: 4 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.421e-05/0.007, allocations: 58.22 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.007002, allocations: 0 / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002646/0.007266, allocations: 121.5 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.007298, allocations: 85.11 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.007389, allocations: 152.3 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.007403, allocations: 29.64 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.007436, allocations: 100.1 kB / 329.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.007461, allocations: 27.73 kB / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.00749, allocations: 21.7 kB / 329.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.007567, allocations: 322.8 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.007582, allocations: 10.83 kB / 329.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.007618, allocations: 56.62 kB / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.007659, allocations: 44.5 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.00766, allocations: 0 / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.797e-05/0.007728, allocations: 76.44 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.00774, allocations: 4 kB / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007744, allocations: 0 / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.007755, allocations: 4 kB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.00781, allocations: 19.92 kB / 329.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.007813, allocations: 0 / 329.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.007839, allocations: 4 kB / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.007845, allocations: 8.031 kB / 329.7 MB, free: 3.027 MB / 298.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 (10): * Single equations (assignments): 10 * 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.573e-05/0.0079, allocations: 124.6 kB / 329.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.007912, allocations: 15.94 kB / 329.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/0.008004, allocations: 74.38 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.008006, allocations: 3.984 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.008008, allocations: 0 / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008011, allocations: 0 / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.008218, allocations: 291.4 kB / 330.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.008218, allocations: 0 / 330.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.008242, allocations: 16.02 kB / 330.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.008244, allocations: 0 / 330.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.008251, allocations: 4 kB / 330.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.008252, allocations: 0 / 330.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008253, allocations: 0 / 330.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.93e-05/0.008352, allocations: 215 kB / 330.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.008366, allocations: 15.92 kB / 330.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.008382, allocations: 4 kB / 330.4 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.008421, allocations: 4 kB / 330.4 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.008447, allocations: 7.984 kB / 330.4 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.008457, allocations: 4 kB / 330.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.008497, allocations: 47.5 kB / 330.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008497, allocations: 0 / 330.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.008654, allocations: 51.86 kB / 330.5 MB, free: 2.102 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0015/0.01015, allocations: 0.7115 MB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.545e-05/0.01024, allocations: 40.78 kB / 331.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.01024, allocations: 4 kB / 331.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.01027, allocations: 24.98 kB / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.01044, allocations: 39.08 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.01072, allocations: 203.6 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.01076, allocations: 63.34 kB / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.0108, allocations: 29.08 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.01087, allocations: 75.34 kB / 331.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01087, allocations: 0 / 331.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of Templates: time 0.003972/0.01485, allocations: 2.761 MB / 334.5 MB, free: 14.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.955148930195719]