Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001394/0.001394, 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.001589/0.001589, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2356/0.2356, allocations: 44.94 MB / 358.8 MB, free: 6.121 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [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.002289/0.002289, allocations: 67.89 kB / 0.4936 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3727, allocations: 65.47 MB / 0.5575 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003639/0.3763, allocations: 1.78 MB / 0.5592 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3783, allocations: 1.046 MB / 0.5603 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.3784, allocations: 4 kB / 0.5603 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.379, allocations: 315.2 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.3796, allocations: 267.2 kB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.3798, allocations: 99.7 kB / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.3802, allocations: 263.2 kB / 0.5612 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.3802, allocations: 5.812 kB / 0.5612 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.3804, allocations: 139.5 kB / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.3807, allocations: 215.5 kB / 0.5615 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.3807, allocations: 8 kB / 0.5615 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3808, allocations: 47.98 kB / 0.5616 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.381, allocations: 143.5 kB / 0.5617 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.3811, allocations: 119 kB / 0.5618 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.3816, allocations: 380.6 kB / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3816, allocations: 3.984 kB / 0.5622 GB, free: 2.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3817, allocations: 0 / 0.5622 GB, free: 2.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3817, allocations: 0 / 0.5622 GB, free: 2.625 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001186/0.3828, allocations: 0.6863 MB / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3829, allocations: 12.03 kB / 0.5629 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.383, allocations: 48.61 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.3836, allocations: 390.5 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3837, allocations: 4.375 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3837, allocations: 12.12 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3839, allocations: 91.28 kB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3839, allocations: 0 / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3839, allocations: 4 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3839, allocations: 0 / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.384, allocations: 35.95 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.3844, allocations: 314 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3847, allocations: 109.2 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3848, allocations: 45.69 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3849, allocations: 0 / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.3851, allocations: 116.9 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3851, allocations: 4 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005136/0.3856, allocations: 205.2 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.3857, allocations: 77.11 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.3869, allocations: 1.065 MB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3869, allocations: 29.7 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.3872, allocations: 240.1 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.3872, allocations: 31.73 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.3873, allocations: 29.72 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.3875, allocations: 366.8 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.3876, allocations: 35.98 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.3877, allocations: 55.42 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.3879, allocations: 95.34 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3879, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003262/0.3882, allocations: 189.7 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3882, allocations: 7.938 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3882, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3882, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3884, allocations: 19.98 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3884, allocations: 4 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.647e-05/0.3885, allocations: 20 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3885, allocations: 7.984 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002757/0.3888, allocations: 221.7 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.3889, allocations: 59.56 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.3893, allocations: 205.8 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3893, allocations: 0 / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.3893, allocations: 4 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3893, allocations: 0 / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.3896, allocations: 265.2 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3896, allocations: 4 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.3897, allocations: 12 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.3897, allocations: 3.938 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3897, allocations: 8 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3897, allocations: 3.984 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3897, allocations: 0 / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.3901, allocations: 217.5 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3903, allocations: 71.53 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.3903, allocations: 8 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.3904, allocations: 7.984 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.3905, allocations: 15.98 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3905, allocations: 7.938 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009081/0.3914, allocations: 0.7917 MB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3914, allocations: 0 / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3917, allocations: 44 kB / 0.5683 GB, free: 12.09 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001684/0.3933, allocations: 434.3 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.3936, allocations: 87.83 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3936, allocations: 4.125 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3937, allocations: 47.91 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3942, allocations: 76.94 kB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3955, allocations: 0.9016 MB / 0.5698 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.3958, allocations: 241.7 kB / 0.57 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3959, allocations: 58.97 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.396, allocations: 31.42 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.396, allocations: 0 / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of Templates: time 0.01001/0.406, allocations: 4.379 MB / 0.5744 GB, free: 6.023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.401693353429437]