Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001343/0.001343, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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: 209.5 kB / 24.48 MB, free: 3.938 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.229/0.229, allocations: 44.93 MB / 359.6 MB, free: 6.066 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [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.002174/0.002174, allocations: 67.89 kB / 0.4943 GB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3742, allocations: 65.48 MB / 0.5582 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003353/0.3776, allocations: 1.784 MB / 0.56 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3795, allocations: 1.044 MB / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.849e-05/0.3796, allocations: 3.938 kB / 0.561 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.3801, allocations: 307.3 kB / 0.5613 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.3806, allocations: 263.2 kB / 0.5616 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.3808, allocations: 99.69 kB / 0.5617 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.3812, allocations: 271.2 kB / 0.5619 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.3812, allocations: 9.812 kB / 0.5619 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3814, allocations: 139.5 kB / 0.5621 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.3817, allocations: 211.5 kB / 0.5623 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.3817, allocations: 8 kB / 0.5623 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3818, allocations: 55.91 kB / 0.5623 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.382, allocations: 143.5 kB / 0.5625 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3821, allocations: 107.1 kB / 0.5626 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.3825, allocations: 384.6 kB / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3825, allocations: 0 / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3825, allocations: 0 / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3825, allocations: 4 kB / 0.5629 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.00103/0.3836, allocations: 0.6902 MB / 0.5636 GB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3836, allocations: 8.031 kB / 0.5636 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.3837, allocations: 48.61 kB / 0.5637 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.3843, allocations: 394.5 kB / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3843, allocations: 384 / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.3844, allocations: 12.12 kB / 0.564 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3846, allocations: 87.3 kB / 0.5641 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3846, allocations: 3.984 kB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3846, allocations: 8 kB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3846, allocations: 0 / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3847, allocations: 35.97 kB / 0.5642 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.3851, allocations: 314 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3854, allocations: 105.2 kB / 0.5646 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.474e-05/0.3855, allocations: 37.7 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3855, allocations: 0 / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.3857, allocations: 132.9 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.3857, allocations: 0 / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004942/0.3862, allocations: 205.2 kB / 0.5649 GB, free: 428 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.3863, allocations: 77.11 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.3875, allocations: 1.062 MB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3875, allocations: 29.7 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.3877, allocations: 236.1 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.3878, allocations: 31.75 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.3878, allocations: 37.7 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.388, allocations: 366.8 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.3881, allocations: 31.98 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3882, allocations: 59.41 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.3884, allocations: 95.28 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3884, allocations: 4 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003155/0.3887, allocations: 189.7 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3887, allocations: 4 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3887, allocations: 0 / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3887, allocations: 4 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3889, allocations: 19.98 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3889, allocations: 4.062 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.389, allocations: 15.94 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.389, allocations: 4 kB / 0.5671 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.0002319/0.3892, allocations: 221.7 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.3893, allocations: 59.56 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.3897, allocations: 205.8 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3897, allocations: 0 / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3897, allocations: 4 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3897, allocations: 3.984 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.39, allocations: 265.2 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.39, allocations: 4 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.39, allocations: 11.98 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.39, allocations: 3.938 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3901, allocations: 8 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3901, allocations: 0 / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3901, allocations: 4 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.3904, allocations: 225.4 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.3906, allocations: 67.53 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.3906, allocations: 8 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.3907, allocations: 7.984 kB / 0.5682 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.3908, allocations: 11.97 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3908, allocations: 8 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008755/0.3917, allocations: 0.7916 MB / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3917, allocations: 0 / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3919, allocations: 44 kB / 0.569 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.001648/0.3936, allocations: 446 kB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.3939, allocations: 83.84 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3939, allocations: 0 / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.394, allocations: 43.97 kB / 0.5696 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.0004179/0.3944, allocations: 75.28 kB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3957, allocations: 0.9424 MB / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.396, allocations: 245.7 kB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.3961, allocations: 27.44 kB / 0.5708 GB, free: 10.37 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3961, allocations: 0 / 0.5708 GB, free: 10.37 MB / 414.1 MB Notification: Performance of Templates: time 0.009401/0.4055, allocations: 5.349 MB / 0.576 GB, free: 5.023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.146168571896851]