Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001439/0.001439, allocations: 80.8 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.001172/0.001172, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9983/0.9983, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2998/0.2998, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.92e-07/8.92e-07, allocations: 0 / 323.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.334e-05, allocations: 2.312 kB / 323.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002427/0.00244, allocations: 1.799 MB / 325.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.003772, allocations: 1.004 MB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.003828, allocations: 4 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.004011, allocations: 43.7 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.004224, allocations: 99.47 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.004379, allocations: 75.66 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.004499, allocations: 107.6 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.004556, allocations: 13.34 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.00463, allocations: 55.78 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.004698, allocations: 23.91 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.00471, allocations: 8 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.004777, allocations: 47.91 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.004812, allocations: 27.86 kB / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.004838, allocations: 15.94 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.004971, allocations: 91.66 kB / 326.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004974, allocations: 12 kB / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004974, allocations: 0 / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.004977, allocations: 0 / 326.8 MB, free: 6.133 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.0003042/0.005281, allocations: 321.3 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.005313, allocations: 15.97 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.005337, allocations: 8.922 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.005474, allocations: 158.1 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.005484, allocations: 384 / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.005497, allocations: 4.375 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.005578, allocations: 61.77 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.005587, allocations: 7.938 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.005594, allocations: 3.984 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005599, allocations: 4 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.005623, allocations: 4 kB / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.005796, allocations: 177.9 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.00587, allocations: 85.28 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.005887, allocations: 8.859 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.005895, allocations: 0 / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/0.005965, allocations: 70.16 kB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.01e-07/0.005966, allocations: 0 / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002301/0.006196, allocations: 121.5 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.006221, allocations: 55.41 kB / 327.9 MB, free: 4.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006324, allocations: 188.2 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.006338, allocations: 25.7 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.006375, allocations: 96.06 kB / 328.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.006407, allocations: 27.78 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.006437, allocations: 25.7 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.006527, allocations: 326.8 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.006542, allocations: 10.83 kB / 328.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.006569, allocations: 29.69 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.006618, allocations: 40.47 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.006619, allocations: 3.938 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.174e-05/0.006691, allocations: 76.42 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.0067, allocations: 4 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.006703, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/0.006709, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.00676, allocations: 23.92 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006763, allocations: 4.031 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.006787, allocations: 8.375 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.006791, allocations: 0 / 328.7 MB, free: 3.996 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 6.316e-05/0.006854, allocations: 116.7 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.006866, allocations: 11.92 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.852e-05/0.006964, allocations: 87.06 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006966, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.006968, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006971, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.007181, allocations: 291.4 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007182, allocations: 4.031 kB / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.007204, allocations: 11.98 kB / 329.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.007207, allocations: 4 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.007211, allocations: 0 / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007213, allocations: 0 / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007214, allocations: 0 / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.007323, allocations: 223 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.007337, allocations: 15.89 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.007349, allocations: 0 / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.007387, allocations: 4 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.007408, allocations: 7.984 kB / 329.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.007418, allocations: 8 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.007461, allocations: 56.69 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007461, allocations: 0 / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.007614, allocations: 23.94 kB / 329.6 MB, free: 3.078 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.001249/0.008863, allocations: 0.5816 MB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.505e-05/0.008938, allocations: 44.77 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.008941, allocations: 4 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/0.008972, allocations: 20.86 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.009131, allocations: 35.84 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.009412, allocations: 235.7 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.009454, allocations: 71.33 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.009492, allocations: 9.297 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.009558, allocations: 67.36 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009558, allocations: 4 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of Templates: time 0.003263/0.01282, allocations: 2.015 MB / 332.7 MB, free: 280 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.0275225550867617]