Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.0009935/0.0009935, allocations: 78.66 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.001026/0.001026, allocations: 166 kB / 24.82 MB, free: 9.266 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.117/1.117, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2899/0.2899, allocations: 34.26 MB / 296.1 MB, free: 0.6602 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.751e-05, allocations: 5.547 kB / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002521/0.002549, allocations: 1.754 MB / 380.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.004526, allocations: 1.718 MB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.004612, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.004884, allocations: 39.77 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.005198, allocations: 107.3 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.005424, allocations: 83.66 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.005614, allocations: 103.6 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.005711, allocations: 11.97 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.005829, allocations: 55.84 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.005931, allocations: 35.89 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.005949, allocations: 4 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.006116, allocations: 107.8 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.006168, allocations: 19.86 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.006201, allocations: 31.91 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.006416, allocations: 159.5 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006419, allocations: 0 / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00642, allocations: 0 / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.006423, allocations: 0 / 382.8 MB, free: 14.03 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004184/0.006841, allocations: 451.8 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.006878, allocations: 12.02 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.006915, allocations: 12.89 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.00707, allocations: 152 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.007087, allocations: 4.375 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.007104, allocations: 4.359 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.007262, allocations: 115.3 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.007274, allocations: 7.953 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.007282, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.007288, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.007319, allocations: 7.984 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.007607, allocations: 268.4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.007711, allocations: 51.05 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.007736, allocations: 15.69 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.007756, allocations: 8 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.007863, allocations: 61.05 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.007865, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003848/0.00825, allocations: 137.5 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.008289, allocations: 77.11 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.008421, allocations: 216.8 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.008435, allocations: 25.7 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.008496, allocations: 146.8 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.008522, allocations: 23.8 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.008561, allocations: 35.34 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003274/0.008888, allocations: 0.5 MB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.008911, allocations: 8 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.008956, allocations: 76.61 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.009004, allocations: 47.42 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.009006, allocations: 384 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001087/0.009114, allocations: 85.52 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.009127, allocations: 10.03 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.009132, allocations: 0 / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.009147, allocations: 4 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.009215, allocations: 24.05 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.009218, allocations: 4 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.009249, allocations: 0 / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.009255, allocations: 4 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.403e-05/0.009339, allocations: 168.5 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.009355, allocations: 11.95 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.009495, allocations: 94.38 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.009498, allocations: 4 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.0095, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.009503, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.009774, allocations: 365.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009775, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.009806, allocations: 12 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.009809, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.009816, allocations: 3.984 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.009818, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.009821, allocations: 4 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.009955, allocations: 251.4 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.009972, allocations: 7.953 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.009992, allocations: 4 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.01004, allocations: 8.031 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.01006, allocations: 7.984 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01008, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.01014, allocations: 162 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01014, allocations: 0 / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.01034, allocations: 51.8 kB / 386.5 MB, free: 10.02 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001164/0.0115, allocations: 0.5433 MB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01161, allocations: 51.59 kB / 387.1 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01162, allocations: 0 / 387.1 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.01165, allocations: 35.72 kB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01188, allocations: 35.89 kB / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.0122, allocations: 198.2 kB / 387.4 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.01224, allocations: 67.33 kB / 387.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.656e-05/0.01228, allocations: 20.97 kB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.01236, allocations: 98.17 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01236, allocations: 4.062 kB / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of Templates: time 0.004464/0.01683, allocations: 2.778 MB / 390.3 MB, free: 6.367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.334007274825126]