Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.0009235/0.0009235, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.001036/0.001036, allocations: 166.9 kB / 24.99 MB, free: 9.277 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 1.031/1.031, allocations: 177 MB / 205.2 MB, free: 5.574 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.264/0.264, allocations: 34.86 MB / 296.6 MB, free: 0.5547 MB / 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.524e-05, allocations: 3.016 kB / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00642/0.006445, allocations: 2.334 MB / 381.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.01159, allocations: 1.376 MB / 382.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.01176, allocations: 7.938 kB / 382.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.01229, allocations: 294.8 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.01289, allocations: 350.4 kB / 383.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.01631, allocations: 219.4 kB / 383.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006207/0.01693, allocations: 0.5724 MB / 384 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.01707, allocations: 33.28 kB / 384 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.01741, allocations: 299.1 kB / 384.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.01771, allocations: 259.3 kB / 384.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.01775, allocations: 20 kB / 384.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.01788, allocations: 59.92 kB / 384.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.018, allocations: 123.5 kB / 384.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.01811, allocations: 99.56 kB / 384.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.0185, allocations: 326.5 kB / 385.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01851, allocations: 4 kB / 385.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01851, allocations: 4 kB / 385.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01851, allocations: 0 / 385.2 MB, free: 11.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003972/0.02249, allocations: 0.8302 MB / 386 MB, free: 11.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.02253, allocations: 8.031 kB / 386 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.02264, allocations: 72.55 kB / 386.1 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.02309, allocations: 359.1 kB / 386.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.02311, allocations: 16.38 kB / 386.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.02315, allocations: 20.36 kB / 386.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.02347, allocations: 201.7 kB / 386.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.02348, allocations: 4.188 kB / 386.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.0235, allocations: 8.359 kB / 386.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.02351, allocations: 7.938 kB / 386.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.02364, allocations: 63.88 kB / 386.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.02468, allocations: 1.015 MB / 387.8 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.02503, allocations: 271.7 kB / 388 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/0.02815, allocations: 90.34 kB / 388.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.02817, allocations: 8 kB / 388.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.02846, allocations: 223.3 kB / 388.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.02847, allocations: 0 / 388.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001394/0.02986, allocations: 0.9434 MB / 389.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.02993, allocations: 166.1 kB / 389.4 MB, free: 7.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.03048, allocations: 0.573 MB / 390 MB, free: 6.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.03051, allocations: 37.7 kB / 390.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.03069, allocations: 299.7 kB / 390.3 MB, free: 6.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.912e-05/0.03079, allocations: 127 kB / 390.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.03088, allocations: 79.84 kB / 390.5 MB, free: 6.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.03106, allocations: 0.5508 MB / 391.1 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.03225, allocations: 60.97 kB / 391.2 MB, free: 5.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.03246, allocations: 173.8 kB / 391.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.03282, allocations: 249.1 kB / 391.6 MB, free: 5.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.03282, allocations: 0 / 391.6 MB, free: 5.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006146/0.03343, allocations: 345.3 kB / 391.9 MB, free: 4.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.03345, allocations: 7.938 kB / 391.9 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.03347, allocations: 7.984 kB / 391.9 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.03349, allocations: 4 kB / 391.9 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.03379, allocations: 79.91 kB / 392 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.0338, allocations: 12 kB / 392 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.03397, allocations: 19.94 kB / 392 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.03401, allocations: 23.94 kB / 392.1 MB, free: 4.598 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001868/0.0342, allocations: 207.1 kB / 392.3 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.03431, allocations: 75.61 kB / 392.3 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007362/0.03504, allocations: 409.6 kB / 392.7 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.03505, allocations: 4 kB / 392.7 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.03506, allocations: 7.938 kB / 392.7 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.03507, allocations: 3.984 kB / 392.8 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.03661, allocations: 1.411 MB / 394.2 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.03661, allocations: 0 / 394.2 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.03677, allocations: 51.92 kB / 394.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.03678, allocations: 7.984 kB / 394.2 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.03681, allocations: 12 kB / 394.2 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.03682, allocations: 4 kB / 394.2 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.03682, allocations: 7.938 kB / 394.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.03771, allocations: 1.034 MB / 395.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.03778, allocations: 51.73 kB / 395.3 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.03786, allocations: 23.98 kB / 395.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.0382, allocations: 15.98 kB / 395.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.03831, allocations: 47.81 kB / 395.4 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.03836, allocations: 23.98 kB / 395.4 MB, free: 1.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004443/0.0388, allocations: 394.8 kB / 395.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0388, allocations: 0 / 395.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006529/0.03946, allocations: 84 kB / 395.9 MB, free: 0.6172 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001429/0.04089, allocations: 464.1 kB / 396.4 MB, free: 300 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.04136, allocations: 236.2 kB / 396.6 MB, free: 60 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.04137, allocations: 4 kB / 396.6 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.0416, allocations: 131.4 kB / 396.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.04271, allocations: 153.7 kB / 396.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.0449, allocations: 0.8783 MB / 397.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.0451, allocations: 141.8 kB / 397.9 MB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.0453, allocations: 79.39 kB / 398 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.0454, allocations: 52.48 kB / 398 MB, free: 14.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.0454, allocations: 0 / 398 MB, free: 14.54 MB / 378.7 MB Notification: Performance of Templates: time 0.008206/0.0536, allocations: 6.242 MB / 404.3 MB, free: 8.414 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.311043714173138]