Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001041/0.001041, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001648/0.001648, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.002/1.002, allocations: 177.1 MB / 206 MB, free: 4.504 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.1393/0.1393, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 379.4 MB, free: 23.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.246e-05, allocations: 2.312 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00259/0.002602, allocations: 1.823 MB / 381.2 MB, free: 21.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003682, allocations: 1.079 MB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.003766, allocations: 4 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.004116, allocations: 303.2 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.00442, allocations: 266.9 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.004583, allocations: 103.6 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.004785, allocations: 267.2 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.004826, allocations: 13.81 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.004936, allocations: 159.5 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.005066, allocations: 207.6 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.005082, allocations: 8 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.611e-05/0.005149, allocations: 43.92 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.005224, allocations: 139.6 kB / 383.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.005274, allocations: 79.64 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.005462, allocations: 286.9 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005464, allocations: 3.938 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005464, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005468, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.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.000484/0.005952, allocations: 0.7862 MB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.005979, allocations: 12.03 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.006029, allocations: 60.56 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.006229, allocations: 320.6 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.006244, allocations: 4.375 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.006253, allocations: 4.375 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.006355, allocations: 90.28 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.006362, allocations: 3.938 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.00637, allocations: 0 / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006375, allocations: 4 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.057e-05/0.006406, allocations: 19.92 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.006565, allocations: 220.8 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.006679, allocations: 86.22 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.006706, allocations: 31.3 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.006718, allocations: 4 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.309e-05/0.006811, allocations: 100.4 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 8.31e-07/0.006812, allocations: 4 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002025/0.007015, allocations: 177.2 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.007038, allocations: 88.97 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.00738, allocations: 0.6976 MB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.007391, allocations: 25.7 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.007501, allocations: 314.7 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.007532, allocations: 19.84 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.007565, allocations: 35.36 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.007666, allocations: 0.5664 MB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.007686, allocations: 11.98 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.00772, allocations: 62.22 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.007778, allocations: 71.16 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00778, allocations: 4 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001207/0.0079, allocations: 145.2 kB / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.007912, allocations: 4 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.007918, allocations: 11.97 kB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.007929, allocations: 3.938 kB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.007997, allocations: 24 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.008001, allocations: 4 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.008053, allocations: 15.88 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.008061, allocations: 8 kB / 388.1 MB, free: 14.3 MB / 314.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 7.01e-05/0.008131, allocations: 165.2 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.008168, allocations: 55.61 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.008318, allocations: 157.9 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.008321, allocations: 3.938 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.008323, allocations: 0 / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.008328, allocations: 8 kB / 388.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.008473, allocations: 229 kB / 388.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008474, allocations: 4 kB / 388.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.008497, allocations: 11.94 kB / 388.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.0085, allocations: 0 / 388.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.008508, allocations: 4 kB / 388.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.00851, allocations: 3.984 kB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008512, allocations: 0 / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.008648, allocations: 203.9 kB / 388.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.00869, allocations: 59.55 kB / 389 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.008724, allocations: 19.98 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.008765, allocations: 4 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.008797, allocations: 19.86 kB / 389 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.008809, allocations: 4 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001964/0.009006, allocations: 438.6 kB / 389.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009006, allocations: 0 / 389.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.009183, allocations: 40 kB / 389.5 MB, free: 12.83 MB / 314.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.0007897/0.009973, allocations: 387.3 kB / 389.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01011, allocations: 67.52 kB / 390 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01011, allocations: 0 / 390 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.01015, allocations: 35.61 kB / 390 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01043, allocations: 87.55 kB / 390.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.011, allocations: 0.6615 MB / 390.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.01106, allocations: 136.1 kB / 390.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.28e-05/0.01112, allocations: 38.95 kB / 390.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.01121, allocations: 122.2 kB / 391 MB, free: 11.38 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01121, allocations: 0 / 391 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Templates: time 0.005952/0.01717, allocations: 4.421 MB / 395.5 MB, free: 7.012 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.103897771332413]