Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0009986/0.0009986, 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.001266/0.001266, allocations: 168.7 kB / 25.61 MB, free: 8.582 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 0.9822/0.9822, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.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.1391/0.1391, allocations: 32.8 MB / 295.4 MB, free: 15.36 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.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.715e-05, allocations: 2.312 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00555/0.005577, allocations: 1.746 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004915/0.01049, allocations: 1.718 MB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.0106, allocations: 4 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.01088, allocations: 35.77 kB / 380.9 MB, free: 21.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.01124, allocations: 103.4 kB / 381 MB, free: 21.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.01145, allocations: 91.55 kB / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.01161, allocations: 103.7 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.01171, allocations: 7.984 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.0118, allocations: 63.77 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.01191, allocations: 31.89 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.01193, allocations: 4 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.01211, allocations: 103.9 kB / 381.4 MB, free: 21.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.01216, allocations: 19.86 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.01219, allocations: 23.92 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.01243, allocations: 159.5 kB / 381.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01243, allocations: 0 / 381.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01243, allocations: 4 kB / 381.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.01244, allocations: 0 / 381.6 MB, free: 21.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004015/0.01284, allocations: 463.7 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.01287, allocations: 11.98 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.01292, allocations: 16.88 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.01306, allocations: 141 kB / 382.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.01308, allocations: 12.36 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/0.01612, allocations: 4.312 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.01626, allocations: 111.4 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.01627, allocations: 0 / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.01628, allocations: 12 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.01628, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.498e-05/0.0163, allocations: 7.984 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.01654, allocations: 260.4 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.01662, allocations: 59.02 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.01663, allocations: 11.69 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.01665, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.119e-05/0.01673, allocations: 65.05 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.01673, allocations: 4 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000317/0.01705, allocations: 141.4 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.01707, allocations: 81.11 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.01716, allocations: 208.7 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.01717, allocations: 25.7 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.0172, allocations: 150.8 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.01723, allocations: 23.84 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.01726, allocations: 31.36 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.01731, allocations: 0.4961 MB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.01732, allocations: 11.98 kB / 383.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.01735, allocations: 64.75 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.01739, allocations: 43.36 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01739, allocations: 3.938 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.975e-05/0.01748, allocations: 85.56 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.0175, allocations: 8 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.0175, allocations: 0 / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.01751, allocations: 0 / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.01757, allocations: 15.94 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.01758, allocations: 4 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.01761, allocations: 19.94 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.01761, allocations: 4 kB / 384.1 MB, free: 18.46 MB / 314.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 5.466e-05/0.01767, allocations: 164.5 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.01769, allocations: 7.953 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.01781, allocations: 102.5 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01782, allocations: 4 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01782, allocations: 384 / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01782, allocations: 0 / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.01808, allocations: 361.6 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.01808, allocations: 8.031 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.01812, allocations: 8 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01812, allocations: 4 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.01813, allocations: 4 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.01813, allocations: 0 / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01813, allocations: 3.984 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.01827, allocations: 255.4 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.01829, allocations: 7.953 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.01831, allocations: 0 / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.01838, allocations: 8 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.01841, allocations: 11.92 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.01842, allocations: 4 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.817e-05/0.01848, allocations: 162.4 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01848, allocations: 0 / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00023/0.01871, allocations: 51.8 kB / 385.3 MB, free: 17.25 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: 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.001081/0.01979, allocations: 0.5429 MB / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.0199, allocations: 47.59 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01991, allocations: 0 / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.01994, allocations: 27.67 kB / 385.9 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.02017, allocations: 42.84 kB / 385.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.02046, allocations: 207.7 kB / 386.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.541e-05/0.02049, allocations: 63.34 kB / 386.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.02053, allocations: 17.27 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.0206, allocations: 102.2 kB / 386.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0206, allocations: 0 / 386.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of Templates: time 0.004111/0.02471, allocations: 2.795 MB / 389.1 MB, free: 13.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.193085129838437]