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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007807/0.0007807, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002142, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.00218, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9271/0.9271, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1645/1.092, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] 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.1541/0.1541, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0251/0.1792, allocations: 12.53 MB / 284.5 MB, free: 9.707 MB / 282.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.232e-05, allocations: 5.547 kB / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001941/0.001953, allocations: 1.865 MB / 287.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003036, allocations: 0.9584 MB / 288.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.003107, allocations: 7.875 kB / 288.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.00345, allocations: 303.1 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.00369, allocations: 215.2 kB / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.003979, allocations: 175.4 kB / 289.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.004211, allocations: 247.3 kB / 289.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.004252, allocations: 10.41 kB / 289.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.004459, allocations: 204.2 kB / 289.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.004617, allocations: 175.7 kB / 290.1 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.004638, allocations: 8 kB / 290.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.00472, allocations: 47.92 kB / 290.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.004816, allocations: 131.6 kB / 290.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.004867, allocations: 51.75 kB / 290.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.00511, allocations: 266.9 kB / 290.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.00512, allocations: 0 / 290.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005121, allocations: 0 / 290.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.005131, allocations: 4 kB / 290.6 MB, free: 3.672 MB / 282.7 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.0006429/0.005774, allocations: 0.6808 MB / 291.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.005805, allocations: 8.031 kB / 291.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.005856, allocations: 36.89 kB / 291.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.006102, allocations: 297.9 kB / 291.6 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.006119, allocations: 4.375 kB / 291.6 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.006132, allocations: 4.359 kB / 291.6 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.006252, allocations: 87.47 kB / 291.7 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.00626, allocations: 3.938 kB / 291.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.00627, allocations: 7.969 kB / 291.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.006276, allocations: 0 / 291.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.006312, allocations: 25.58 kB / 291.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.006446, allocations: 118.3 kB / 291.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.006548, allocations: 78.86 kB / 291.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.006577, allocations: 29.7 kB / 291.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.006588, allocations: 0 / 291.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.0067, allocations: 103.8 kB / 292 MB, free: 2.066 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.006701, allocations: 0 / 292 MB, free: 2.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001583/0.006859, allocations: 107.2 kB / 292.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.006902, allocations: 93.03 kB / 292.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.00729, allocations: 0.5868 MB / 292.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.007309, allocations: 25.7 kB / 292.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.007374, allocations: 149.3 kB / 293 MB, free: 1.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.007414, allocations: 27.8 kB / 293 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.007451, allocations: 25.7 kB / 293 MB, free: 1.004 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.007559, allocations: 366.7 kB / 293.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.007584, allocations: 18.81 kB / 293.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.007617, allocations: 43.36 kB / 293.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.565e-05/0.007683, allocations: 71.77 kB / 293.5 MB, free: 488 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.007686, allocations: 0 / 293.5 MB, free: 488 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001076/0.007794, allocations: 107.8 kB / 293.6 MB, free: 372 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.007808, allocations: 8 kB / 293.6 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007813, allocations: 0 / 293.6 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.007826, allocations: 0 / 293.6 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.007905, allocations: 31.86 kB / 293.7 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007909, allocations: 4 kB / 293.7 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.007961, allocations: 16 kB / 293.7 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.007967, allocations: 4 kB / 293.7 MB, free: 308 kB / 282.7 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 8.931e-05/0.008056, allocations: 128.6 kB / 293.8 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.008083, allocations: 27.97 kB / 293.8 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.008236, allocations: 129.7 kB / 294 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008238, allocations: 0 / 294 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.008241, allocations: 3.938 kB / 294 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008245, allocations: 0 / 294 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.008372, allocations: 161.6 kB / 294.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.008374, allocations: 0 / 294.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.008404, allocations: 19.98 kB / 294.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.008444, allocations: 47.67 kB / 294.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008447, allocations: 3.984 kB / 294.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.008454, allocations: 4 kB / 294.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008456, allocations: 3.938 kB / 294.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.008458, allocations: 3.938 kB / 294.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.008565, allocations: 142.3 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.008591, allocations: 7.984 kB / 294.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.00863, allocations: 4 kB / 294.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.008662, allocations: 7.984 kB / 294.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.008676, allocations: 15.94 kB / 294.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.008887, allocations: 315.2 kB / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008887, allocations: 0 / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.009038, allocations: 40 kB / 294.7 MB, free: 15.19 MB / 298.7 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.001224/0.01026, allocations: 0.561 MB / 295.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.01037, allocations: 56.77 kB / 295.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/0.01039, allocations: 8 kB / 295.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.01044, allocations: 44.95 kB / 295.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.01077, allocations: 387.8 kB / 295.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008325/0.01161, allocations: 0.6414 MB / 296.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.457e-05/0.01168, allocations: 124.2 kB / 296.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.541e-05/0.01175, allocations: 42.94 kB / 296.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01185, allocations: 95.36 kB / 296.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01185, allocations: 0 / 296.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Templates: time 0.006214/0.01807, allocations: 4.332 MB / 301 MB, free: 9.152 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7897684909403324]