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.001672/0.001672, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002019/0.002019, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2241/0.2241, allocations: 44.91 MB / 359.6 MB, free: 6.305 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.002061/0.002061, allocations: 67.89 kB / 0.4944 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3746, allocations: 65.48 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003565/0.3782, allocations: 1.832 MB / 0.5601 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3803, allocations: 1.124 MB / 0.5612 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.935e-05/0.3804, allocations: 7.938 kB / 0.5612 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.3809, allocations: 299.3 kB / 0.5615 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000511/0.3815, allocations: 263.2 kB / 0.5617 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.3817, allocations: 107.6 kB / 0.5618 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.3821, allocations: 267.2 kB / 0.5621 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.3821, allocations: 9.812 kB / 0.5621 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.3823, allocations: 143.5 kB / 0.5622 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.3826, allocations: 215.5 kB / 0.5624 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.3826, allocations: 8 kB / 0.5625 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3827, allocations: 43.98 kB / 0.5625 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3829, allocations: 147.5 kB / 0.5626 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.3831, allocations: 146.8 kB / 0.5628 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.3836, allocations: 380.6 kB / 0.5631 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3836, allocations: 0 / 0.5631 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3836, allocations: 0 / 0.5631 GB, free: 2.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.3836, allocations: 0 / 0.5631 GB, free: 2.742 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.001085/0.3847, allocations: 0.6902 MB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3847, allocations: 12.03 kB / 0.5638 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.3848, allocations: 48.61 kB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.3855, allocations: 402.5 kB / 0.5643 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3855, allocations: 8.312 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3855, allocations: 12.11 kB / 0.5643 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.3857, allocations: 95.3 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3857, allocations: 0 / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3858, allocations: 4 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3858, allocations: 0 / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3859, allocations: 31.97 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.3863, allocations: 349.4 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.3866, allocations: 101.2 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3867, allocations: 49.62 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3867, allocations: 0 / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/0.3871, allocations: 113 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3871, allocations: 0 / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004924/0.3876, allocations: 197.2 kB / 0.5652 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.3876, allocations: 81.09 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.389, allocations: 1.05 MB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.389, allocations: 29.7 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.3892, allocations: 240.1 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.3893, allocations: 35.72 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.3893, allocations: 29.72 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3896, allocations: 370.8 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.3897, allocations: 31.98 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3898, allocations: 51.42 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.39, allocations: 95.34 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.39, allocations: 0 / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003154/0.3903, allocations: 173.7 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3903, allocations: 11.94 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3903, allocations: 0 / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3903, allocations: 4.062 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3904, allocations: 27.98 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3904, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.3905, allocations: 15.92 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3906, allocations: 4 kB / 0.5673 GB, free: 14.18 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.0002556/0.3908, allocations: 225.7 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.3909, allocations: 59.61 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.3913, allocations: 201.8 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3913, allocations: 7.938 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3913, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3913, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.3917, allocations: 320.5 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3917, allocations: 0 / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.3917, allocations: 12 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3917, allocations: 3.984 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3917, allocations: 4 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.3917, allocations: 4 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3917, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.3921, allocations: 225.3 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3922, allocations: 71.58 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.3923, allocations: 3.984 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.3923, allocations: 8 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.3924, allocations: 7.984 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3924, allocations: 4 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009296/0.3933, allocations: 0.7917 MB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3933, allocations: 0 / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3936, allocations: 43.98 kB / 0.5693 GB, free: 12.13 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.001551/0.3952, allocations: 405.1 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.3954, allocations: 79.84 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3954, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3956, allocations: 48.03 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.396, allocations: 84.98 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.3974, allocations: 0.9345 MB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.3979, allocations: 0.8429 MB / 0.5716 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.398, allocations: 39.42 kB / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.398, allocations: 0 / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of Templates: time 0.00884/0.4068, allocations: 5.23 MB / 0.5767 GB, free: 4.582 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/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: 8.28748002811335]