Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001289/0.001289, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001529/0.001529, allocations: 165.5 kB / 24.82 MB, free: 9.27 MB / 18.57 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3169/0.3169, allocations: 34.27 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.783e-05, allocations: 2.312 kB / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002632/0.002649, allocations: 1.839 MB / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.004366, allocations: 1.068 MB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.863e-05/0.004465, allocations: 4 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.00494, allocations: 299.1 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.005385, allocations: 263 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.005596, allocations: 107.6 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.005867, allocations: 267.2 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.005914, allocations: 9.812 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.006086, allocations: 151.6 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.006296, allocations: 204.1 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.006317, allocations: 4 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-05/0.006411, allocations: 51.92 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.006528, allocations: 140.5 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.006604, allocations: 71.66 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.006911, allocations: 278.9 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.006913, allocations: 0 / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.006915, allocations: 4 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.00692, allocations: 0 / 383.3 MB, free: 13.58 MB / 362.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.000742/0.007662, allocations: 0.7822 MB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.007705, allocations: 12.03 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.007778, allocations: 56.59 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.008093, allocations: 316.7 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.008111, allocations: 384 / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.008122, allocations: 4.375 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.008293, allocations: 94.27 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.008305, allocations: 3.938 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.008315, allocations: 4 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.008321, allocations: 0 / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.045e-05/0.008362, allocations: 15.92 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.008993, allocations: 220.8 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.009146, allocations: 98.14 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.009186, allocations: 27.36 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.009207, allocations: 4 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.00935, allocations: 108.3 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.009351, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002956/0.009647, allocations: 173.6 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.009691, allocations: 77.11 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.01029, allocations: 0.682 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.01031, allocations: 33.7 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.01049, allocations: 306.7 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.01053, allocations: 23.84 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.01057, allocations: 35.36 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.01077, allocations: 0.5663 MB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.01079, allocations: 11.98 kB / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.01084, allocations: 58.72 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.01092, allocations: 74.67 kB / 387 MB, free: 9.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01093, allocations: 0 / 387 MB, free: 9.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001737/0.0111, allocations: 145.2 kB / 387.2 MB, free: 9.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01112, allocations: 10.19 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01112, allocations: 0 / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.01114, allocations: 3.938 kB / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.01122, allocations: 23.98 kB / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.01122, allocations: 0 / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.01129, allocations: 11.92 kB / 387.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.0113, allocations: 12.05 kB / 387.2 MB, free: 9.344 MB / 362.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 0.0001039/0.0114, allocations: 169.1 kB / 387.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.01145, allocations: 59.62 kB / 387.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.01166, allocations: 166.1 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01166, allocations: 3.938 kB / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01166, allocations: 0 / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01167, allocations: 7.984 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.01187, allocations: 217.1 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01187, allocations: 0 / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.01191, allocations: 15.98 kB / 387.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01191, allocations: 8 kB / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.01191, allocations: 0 / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01192, allocations: 4 kB / 387.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01192, allocations: 0 / 387.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.01211, allocations: 211.5 kB / 388.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.01217, allocations: 55.59 kB / 388.1 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.0122, allocations: 4 kB / 388.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.01225, allocations: 7.984 kB / 388.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.01228, allocations: 11.92 kB / 388.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01229, allocations: 8 kB / 388.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003073/0.0126, allocations: 438.6 kB / 388.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0126, allocations: 0 / 388.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.01283, allocations: 43.98 kB / 388.6 MB, free: 7.875 MB / 362.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.0009352/0.01377, allocations: 387.8 kB / 389 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.01389, allocations: 59.58 kB / 389.1 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01389, allocations: 0 / 389.1 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.023e-05/0.01394, allocations: 39.61 kB / 389.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.01426, allocations: 81.45 kB / 389.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.015, allocations: 0.6403 MB / 389.8 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.01511, allocations: 140.1 kB / 390 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.93e-05/0.01519, allocations: 46.94 kB / 390 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.01532, allocations: 122.2 kB / 390.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01532, allocations: 0 / 390.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of Templates: time 0.007728/0.02304, allocations: 4.284 MB / 394.4 MB, free: 2.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.403965378180146]