Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001434/0.001434, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001482/0.001482, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.03/1.03, allocations: 177.1 MB / 205 MB, free: 5.617 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.3068/0.3068, allocations: 32.81 MB / 294.3 MB, free: 1.25 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.655e-05, allocations: 2.312 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003489/0.003526, allocations: 1.781 MB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005155, allocations: 1.005 MB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.005248, allocations: 4 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.005635, allocations: 79.64 kB / 379 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.006047, allocations: 119.4 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.006321, allocations: 87.53 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.006595, allocations: 115.7 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.006752, allocations: 8 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.006901, allocations: 71.75 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.007051, allocations: 55.86 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.007077, allocations: 8 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.007223, allocations: 43.92 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.194e-05/0.007305, allocations: 23.86 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.007364, allocations: 15.94 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.007675, allocations: 111.6 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.007682, allocations: 0 / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.007684, allocations: 0 / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.007693, allocations: 0 / 379.6 MB, free: 1.023 MB / 346.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.0007264/0.00842, allocations: 463.7 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.008477, allocations: 8.031 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.008552, allocations: 20.84 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.008834, allocations: 144.4 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.008867, allocations: 4.375 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.008907, allocations: 4.328 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.009116, allocations: 62.94 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.009133, allocations: 3.938 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.009148, allocations: 4 kB / 380.3 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.009161, allocations: 4 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.009208, allocations: 11.92 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.009708, allocations: 291.8 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.009865, allocations: 59.16 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.009908, allocations: 23.61 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.009935, allocations: 3.938 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.0101, allocations: 65.05 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.0101, allocations: 0 / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006027/0.0107, allocations: 161.3 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.01075, allocations: 51.41 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.01094, allocations: 246.7 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.01097, allocations: 25.7 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.01106, allocations: 158.9 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.0111, allocations: 31.73 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.01115, allocations: 31.38 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.01129, allocations: 0.4962 MB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.01133, allocations: 12 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.01137, allocations: 35.36 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.008e-05/0.01144, allocations: 55.61 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01144, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001315/0.01158, allocations: 97.53 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01159, allocations: 8 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.0116, allocations: 4 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.01162, allocations: 0 / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.01171, allocations: 12 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01172, allocations: 0 / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/0.01176, allocations: 11.98 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.01176, allocations: 4 kB / 382.2 MB, free: 14.22 MB / 362.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 9.603e-05/0.01186, allocations: 164.5 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.01188, allocations: 15.84 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.01208, allocations: 111.3 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01209, allocations: 4 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01209, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01209, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.01245, allocations: 400.9 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01245, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.01249, allocations: 11.94 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01249, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.0125, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.0125, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.0125, allocations: 4.031 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.01267, allocations: 259.4 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.01269, allocations: 15.94 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.01271, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.01275, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.01279, allocations: 11.98 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01281, allocations: 4 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.01291, allocations: 185 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01291, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.0131, allocations: 23.94 kB / 383.4 MB, free: 12.94 MB / 362.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.001073/0.01418, allocations: 439.8 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01432, allocations: 55.59 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01432, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.01436, allocations: 35.61 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01461, allocations: 27.98 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.01507, allocations: 236.9 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.474e-05/0.01514, allocations: 71.41 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.01518, allocations: 24.95 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.01523, allocations: 16.5 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01523, allocations: 0 / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Templates: time 0.00455/0.01978, allocations: 1.892 MB / 386.2 MB, free: 10.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.495928396936506]