Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.001312/0.001312, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.001469/0.001469, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 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.535/1.535, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2245/0.2245, allocations: 46.9 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 79.88 kB / 0.4968 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3581, allocations: 65.99 MB / 0.5613 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003989/0.3621, allocations: 1.737 MB / 0.563 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.3644, allocations: 1.045 MB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.3644, allocations: 7.938 kB / 0.564 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.3648, allocations: 79.75 kB / 0.5641 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.3652, allocations: 123.5 kB / 0.5642 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3655, allocations: 75.67 kB / 0.5643 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.3657, allocations: 115.7 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.3658, allocations: 7.984 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3659, allocations: 55.77 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3661, allocations: 63.73 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3661, allocations: 4 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3662, allocations: 47.92 kB / 0.5646 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.3663, allocations: 27.92 kB / 0.5646 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.3664, allocations: 31.75 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3667, allocations: 138.2 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3667, allocations: 0 / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3667, allocations: 0 / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3667, allocations: 0 / 0.5647 GB, free: 1.422 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.0007141/0.3674, allocations: 426.6 kB / 0.5652 GB, free: 0.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3674, allocations: 12.03 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.3675, allocations: 12.84 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.3678, allocations: 220 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3679, allocations: 12.36 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3679, allocations: 4.375 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3681, allocations: 57.98 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3681, allocations: 4 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3681, allocations: 0 / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3681, allocations: 4 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.3682, allocations: 15.98 kB / 0.5655 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.3687, allocations: 300.8 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3689, allocations: 54.69 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.369, allocations: 20.84 kB / 0.5658 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.369, allocations: 0 / 0.5658 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.3692, allocations: 67.33 kB / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.3692, allocations: 0 / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007065/0.3699, allocations: 181.4 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3699, allocations: 59.34 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3702, allocations: 227.4 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3703, allocations: 29.7 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.3703, allocations: 104.1 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.3704, allocations: 23.8 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.3705, allocations: 29.64 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3706, allocations: 334.8 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.3707, allocations: 16 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.3708, allocations: 33.7 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.371, allocations: 65.55 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.371, allocations: 4 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002657/0.3713, allocations: 97.66 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3713, allocations: 16.02 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3713, allocations: 0 / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3713, allocations: 0 / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3714, allocations: 15.94 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3714, allocations: 4 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.3715, allocations: 4 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3715, allocations: 7.984 kB / 0.5671 GB, free: 14.77 MB / 414.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.0001613/0.3717, allocations: 132.3 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.3717, allocations: 11.91 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.372, allocations: 122.9 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.372, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.372, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.372, allocations: 3.984 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.3726, allocations: 399.6 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3726, allocations: 4 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.3727, allocations: 11.98 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3727, allocations: 4 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.3727, allocations: 4.031 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.3727, allocations: 3.938 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3727, allocations: 4 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.373, allocations: 204.2 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.3731, allocations: 85.06 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3732, allocations: 0 / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3733, allocations: 15.92 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3733, allocations: 7.984 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3733, allocations: 4 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.3736, allocations: 173.1 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3736, allocations: 0 / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.374, allocations: 31.89 kB / 0.5683 GB, free: 13.46 MB / 414.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.00216/0.3762, allocations: 457.7 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.3764, allocations: 55.91 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3764, allocations: 4 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.3765, allocations: 23.98 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.377, allocations: 45.56 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.3776, allocations: 267.2 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.3781, allocations: 0.708 MB / 0.5698 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.3781, allocations: 16.88 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.3782, allocations: 23.44 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3782, allocations: 0 / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Templates: time 0.005614/0.3838, allocations: 1.768 MB / 0.5715 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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: 4.97168931690976]