Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001317/0.001317, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.00142/0.00142, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] 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.2362/0.2362, allocations: 44.92 MB / 359.6 MB, free: 6.359 MB / 286.1 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.89 kB / 0.4944 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 65.47 MB / 0.5583 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003558/0.354, allocations: 1.736 MB / 0.56 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.3559, allocations: 1.052 MB / 0.561 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.356, allocations: 7.875 kB / 0.561 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.3563, allocations: 51.75 kB / 0.5611 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.3566, allocations: 99.59 kB / 0.5612 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.3568, allocations: 79.69 kB / 0.5613 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.357, allocations: 99.73 kB / 0.5614 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3571, allocations: 11.98 kB / 0.5614 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3572, allocations: 51.72 kB / 0.5614 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.3573, allocations: 31.78 kB / 0.5615 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3573, allocations: 4 kB / 0.5615 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.3574, allocations: 43.92 kB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.3575, allocations: 27.92 kB / 0.5615 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.3575, allocations: 43.66 kB / 0.5616 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.3578, allocations: 129.8 kB / 0.5617 GB, free: 4.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3578, allocations: 0 / 0.5617 GB, free: 4.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3578, allocations: 7.938 kB / 0.5617 GB, free: 4.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3578, allocations: 0 / 0.5617 GB, free: 4.258 MB / 398.1 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.0005943/0.3584, allocations: 365.4 kB / 0.562 GB, free: 3.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3584, allocations: 8.031 kB / 0.5621 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.3585, allocations: 12.89 kB / 0.5621 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.3588, allocations: 159.1 kB / 0.5622 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3588, allocations: 384 / 0.5622 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3588, allocations: 8.125 kB / 0.5622 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3589, allocations: 61.61 kB / 0.5623 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.359, allocations: 0 / 0.5623 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.359, allocations: 3.938 kB / 0.5623 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.359, allocations: 4 kB / 0.5623 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.359, allocations: 15.98 kB / 0.5623 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3594, allocations: 267.9 kB / 0.5626 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3596, allocations: 58.69 kB / 0.5626 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.3597, allocations: 24.78 kB / 0.5626 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3597, allocations: 0 / 0.5626 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.3599, allocations: 59.39 kB / 0.5627 GB, free: 3.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3599, allocations: 4 kB / 0.5627 GB, free: 3.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005562/0.3604, allocations: 181.3 kB / 0.5629 GB, free: 2.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3605, allocations: 55.41 kB / 0.5629 GB, free: 2.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3607, allocations: 239 kB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3607, allocations: 25.7 kB / 0.5632 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.3608, allocations: 120.1 kB / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.3609, allocations: 23.83 kB / 0.5633 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.3609, allocations: 21.72 kB / 0.5633 GB, free: 2.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3611, allocations: 326.8 kB / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.3611, allocations: 27.98 kB / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.3612, allocations: 34.08 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3613, allocations: 61.66 kB / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3613, allocations: 0 / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.3615, allocations: 113.8 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3615, allocations: 6.656 kB / 0.5639 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3615, allocations: 3.938 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3616, allocations: 4.031 kB / 0.5639 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.3617, allocations: 19.98 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3617, allocations: 0 / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.3617, allocations: 7.938 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3617, allocations: 4 kB / 0.5639 GB, free: 1.777 MB / 398.1 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 0.0001173/0.3618, allocations: 125.8 kB / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.3619, allocations: 19.91 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.3621, allocations: 118.9 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3621, allocations: 8 kB / 0.5642 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3621, allocations: 0 / 0.5642 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3621, allocations: 7.875 kB / 0.5642 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.3626, allocations: 370.4 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3626, allocations: 0 / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.3627, allocations: 8 kB / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3627, allocations: 0 / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3627, allocations: 3.938 kB / 0.5646 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3627, allocations: 8.031 kB / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3627, allocations: 0 / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3629, allocations: 212.2 kB / 0.5648 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.363, allocations: 11.91 kB / 0.5648 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.363, allocations: 3.938 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.363, allocations: 4 kB / 0.5648 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3631, allocations: 19.97 kB / 0.5648 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3631, allocations: 4 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.3633, allocations: 171.2 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3633, allocations: 0 / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3635, allocations: 20 kB / 0.565 GB, free: 0.5898 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.0018/0.3653, allocations: 473.3 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.3655, allocations: 55.91 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3655, allocations: 0 / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.3656, allocations: 27.92 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.366, allocations: 34.23 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.3665, allocations: 297 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.367, allocations: 0.7119 MB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.367, allocations: 19.42 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.367, allocations: 0 / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Templates: time 0.004314/0.3713, allocations: 2.033 MB / 0.5685 GB, free: 13.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.030121009098366]