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.001908/0.001908, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001684/0.001684, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2347/0.2347, allocations: 44.94 MB / 359.6 MB, free: 6.09 MB / 286.1 MB " [Timeout remaining time 179] 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.002134/0.002134, allocations: 75.88 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3795, allocations: 65.47 MB / 0.5582 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00335/0.3828, allocations: 1.783 MB / 0.56 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3848, allocations: 1.042 MB / 0.561 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.3849, allocations: 7.938 kB / 0.561 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.3854, allocations: 311.3 kB / 0.5613 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005149/0.3859, allocations: 259.2 kB / 0.5616 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.3862, allocations: 99.7 kB / 0.5617 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.3865, allocations: 271.2 kB / 0.5619 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.245e-05/0.3866, allocations: 5.812 kB / 0.5619 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3867, allocations: 139.5 kB / 0.562 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.387, allocations: 215.4 kB / 0.5623 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.387, allocations: 8 kB / 0.5623 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.3872, allocations: 47.98 kB / 0.5623 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.3874, allocations: 147.5 kB / 0.5624 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3875, allocations: 107.1 kB / 0.5626 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.388, allocations: 388.6 kB / 0.5629 GB, free: 2.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.388, allocations: 0 / 0.5629 GB, free: 2.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.388, allocations: 0 / 0.5629 GB, free: 2.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.388, allocations: 0 / 0.5629 GB, free: 2.691 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.001054/0.3891, allocations: 0.6863 MB / 0.5636 GB, free: 1.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3891, allocations: 12.03 kB / 0.5636 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/0.3892, allocations: 48.61 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.3898, allocations: 398.5 kB / 0.564 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3899, allocations: 384 / 0.564 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3899, allocations: 8.125 kB / 0.564 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.3901, allocations: 91.28 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3901, allocations: 0 / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3901, allocations: 8 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3901, allocations: 0 / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3903, allocations: 35.97 kB / 0.5642 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3906, allocations: 314.1 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.3909, allocations: 109.2 kB / 0.5646 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.391, allocations: 37.7 kB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3911, allocations: 3.984 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.3913, allocations: 124.9 kB / 0.5647 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3913, allocations: 4 kB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004973/0.3918, allocations: 201.2 kB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.3918, allocations: 81.09 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3931, allocations: 1.062 MB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.3931, allocations: 25.7 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.3933, allocations: 236.1 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.3934, allocations: 35.73 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.3934, allocations: 29.7 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002664/0.3937, allocations: 366.8 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3938, allocations: 39.98 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3939, allocations: 59.41 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.3941, allocations: 91.34 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3941, allocations: 0 / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003319/0.3945, allocations: 185.7 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3945, allocations: 4 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3945, allocations: 4.062 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3945, allocations: 7.984 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3946, allocations: 16 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3946, allocations: 4.062 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3948, allocations: 15.92 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3948, allocations: 8 kB / 0.5671 GB, free: 14.15 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.0002515/0.395, allocations: 225.6 kB / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.3951, allocations: 59.56 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.3955, allocations: 201.8 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3955, allocations: 4 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3955, allocations: 4 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3955, allocations: 0 / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.3959, allocations: 269.1 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3959, allocations: 0 / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.3959, allocations: 12 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3959, allocations: 7.922 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3959, allocations: 4 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3959, allocations: 0 / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3959, allocations: 0 / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.3963, allocations: 225.5 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.3964, allocations: 71.53 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.3965, allocations: 8 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.3966, allocations: 4 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.3966, allocations: 11.92 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.3966, allocations: 11.98 kB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009041/0.3975, allocations: 0.7916 MB / 0.569 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3975, allocations: 0 / 0.569 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3978, allocations: 44 kB / 0.569 GB, free: 12.16 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.001713/0.3995, allocations: 449.4 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3998, allocations: 83.89 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3998, allocations: 4 kB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3999, allocations: 43.97 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.4004, allocations: 79.78 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.4018, allocations: 0.9424 MB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4021, allocations: 245.7 kB / 0.5708 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.4022, allocations: 31.38 kB / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.4022, allocations: 0 / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Templates: time 0.009535/0.4117, allocations: 5.343 MB / 0.576 GB, free: 5.086 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/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: 8.17663324996829]