Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001502/0.001502, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2351/0.2351, allocations: 44.93 MB / 358.8 MB, free: 6.047 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [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.002138/0.002138, allocations: 71.89 kB / 0.4936 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 65.47 MB / 0.5575 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003369/0.3842, allocations: 1.791 MB / 0.5593 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3862, allocations: 1.038 MB / 0.5603 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.032e-05/0.3863, allocations: 3.938 kB / 0.5603 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.3869, allocations: 307.3 kB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.3874, allocations: 267.2 kB / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.3876, allocations: 103.7 kB / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.388, allocations: 267.2 kB / 0.5612 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.388, allocations: 9.812 kB / 0.5612 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.3882, allocations: 131.5 kB / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.3885, allocations: 215.5 kB / 0.5615 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.3885, allocations: 8 kB / 0.5615 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3887, allocations: 51.92 kB / 0.5616 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.3888, allocations: 143.6 kB / 0.5617 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.3889, allocations: 111 kB / 0.5618 GB, free: 3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.3894, allocations: 384.6 kB / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3894, allocations: 0 / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3894, allocations: 0 / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.3894, allocations: 7.938 kB / 0.5622 GB, free: 2.621 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.001037/0.3905, allocations: 0.6863 MB / 0.5629 GB, free: 1.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3905, allocations: 8.031 kB / 0.5629 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.3906, allocations: 52.61 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.3912, allocations: 390.5 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3912, allocations: 4.375 kB / 0.5633 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3913, allocations: 8.125 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3915, allocations: 95.28 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3915, allocations: 0 / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3915, allocations: 4 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3915, allocations: 0 / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.3916, allocations: 35.97 kB / 0.5634 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.392, allocations: 314 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.3923, allocations: 101.2 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.3924, allocations: 41.69 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3924, allocations: 4 kB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.3927, allocations: 117 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.3927, allocations: 0 / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005264/0.3932, allocations: 213.2 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.3933, allocations: 77.11 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.3945, allocations: 1.058 MB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.3946, allocations: 33.7 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.3948, allocations: 236.1 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.3949, allocations: 35.73 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.3949, allocations: 29.72 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.3951, allocations: 370.8 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3952, allocations: 35.97 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3954, allocations: 59.36 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.3956, allocations: 91.41 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3956, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003675/0.3959, allocations: 189.7 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.396, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.396, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.396, allocations: 7.922 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3961, allocations: 23.98 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3961, allocations: 4 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3962, allocations: 7.938 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3963, allocations: 4 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.0002902/0.3965, allocations: 225.7 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.3966, allocations: 63.59 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.3971, allocations: 205.8 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.3971, allocations: 4 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3971, allocations: 0 / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3971, allocations: 0 / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.3975, allocations: 273.2 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3975, allocations: 0 / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.3975, allocations: 8 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3975, allocations: 3.938 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3975, allocations: 4 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3975, allocations: 4 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3975, allocations: 0 / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.398, allocations: 229.4 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.3981, allocations: 71.53 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.3982, allocations: 0 / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.3983, allocations: 8.172 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3983, allocations: 11.98 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3983, allocations: 8 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009086/0.3992, allocations: 0.7878 MB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3992, allocations: 4 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.3995, allocations: 47.98 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.001709/0.4012, allocations: 442.2 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.4015, allocations: 87.89 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4015, allocations: 0 / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4017, allocations: 39.92 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.4021, allocations: 80.27 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.001394/0.4035, allocations: 0.905 MB / 0.5698 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4038, allocations: 245.8 kB / 0.57 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.4039, allocations: 54.94 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.404, allocations: 35.42 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.404, allocations: 0 / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of Templates: time 0.009621/0.4136, allocations: 4.373 MB / 0.5744 GB, free: 6.027 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.307321337983012]