Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.00135/0.00135, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001456/0.001456, allocations: 209.8 kB / 23.72 MB, free: 4.391 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.228/0.228, allocations: 44.93 MB / 358.8 MB, free: 6.082 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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [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.002161/0.002161, allocations: 68.19 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3601, allocations: 65.47 MB / 0.5575 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003303/0.3634, allocations: 1.64 MB / 0.5591 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3646, allocations: 0.5427 MB / 0.5596 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.3646, allocations: 0 / 0.5596 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.3649, allocations: 31.78 kB / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.3652, allocations: 87.66 kB / 0.5597 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.3655, allocations: 123 kB / 0.5598 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3656, allocations: 87.77 kB / 0.5599 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3658, allocations: 27.62 kB / 0.5599 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.3658, allocations: 27.86 kB / 0.56 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.3659, allocations: 47.83 kB / 0.56 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3659, allocations: 7.938 kB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.366, allocations: 47.92 kB / 0.5601 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.3661, allocations: 23.92 kB / 0.5601 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.3661, allocations: 19.86 kB / 0.5601 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.3664, allocations: 118.2 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3664, allocations: 0 / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3664, allocations: 0 / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3664, allocations: 0 / 0.5602 GB, free: 4.672 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005395/0.3669, allocations: 337.6 kB / 0.5605 GB, free: 4.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3669, allocations: 12.03 kB / 0.5606 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.367, allocations: 16.83 kB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3672, allocations: 142.4 kB / 0.5607 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3672, allocations: 4.375 kB / 0.5607 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3672, allocations: 8.375 kB / 0.5607 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.3674, allocations: 89.7 kB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3674, allocations: 0 / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3674, allocations: 0 / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3674, allocations: 0 / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3676, allocations: 47.89 kB / 0.5609 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.368, allocations: 272.4 kB / 0.5611 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3682, allocations: 70.48 kB / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.3682, allocations: 24.84 kB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3683, allocations: 0 / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3683, allocations: 34.56 kB / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3683, allocations: 0 / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.3694, allocations: 317.3 kB / 0.5615 GB, free: 3.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.3694, allocations: 59.34 kB / 0.5616 GB, free: 3.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3696, allocations: 164.8 kB / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3696, allocations: 25.7 kB / 0.5618 GB, free: 2.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.3697, allocations: 112 kB / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3697, allocations: 43.64 kB / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.3698, allocations: 25.72 kB / 0.562 GB, free: 2.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.37, allocations: 326.8 kB / 0.5623 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3701, allocations: 43.97 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3702, allocations: 44.09 kB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.3704, allocations: 116.4 kB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3704, allocations: 0 / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003212/0.3707, allocations: 153.5 kB / 0.5626 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3707, allocations: 10.66 kB / 0.5626 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3707, allocations: 7.938 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3707, allocations: 0 / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3709, allocations: 27.92 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3709, allocations: 4.641 kB / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.3709, allocations: 11.98 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.371, allocations: 4 kB / 0.5627 GB, free: 2.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.3711, allocations: 121.8 kB / 0.5628 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.3711, allocations: 7.953 kB / 0.5628 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.3715, allocations: 202.2 kB / 0.563 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3715, allocations: 4 kB / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3715, allocations: 0 / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3715, allocations: 0 / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.3722, allocations: 422.8 kB / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3722, allocations: 0 / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3723, allocations: 27.92 kB / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3723, allocations: 0 / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3723, allocations: 12.02 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3723, allocations: 0 / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3723, allocations: 0 / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.3727, allocations: 256.2 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.3727, allocations: 11.89 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3727, allocations: 4 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.3728, allocations: 7.984 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.3728, allocations: 7.984 kB / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3728, allocations: 8 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3729, allocations: 128.8 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3729, allocations: 0 / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3732, allocations: 31.88 kB / 0.5639 GB, free: 0.6992 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001872/0.3751, allocations: 0.4885 MB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.3754, allocations: 115.7 kB / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3754, allocations: 0 / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3755, allocations: 47.97 kB / 0.5645 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3758, allocations: 25.55 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.3764, allocations: 259.4 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3765, allocations: 104.8 kB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.619e-05/0.3766, allocations: 36.31 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.3766, allocations: 15.44 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3766, allocations: 0 / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Templates: time 0.004748/0.3814, allocations: 1.623 MB / 0.5665 GB, free: 14.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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: 5.038188457489014]