Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001412/0.001412, 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.001816/0.001816, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.9959/0.9959, allocations: 177.1 MB / 206.1 MB, free: 4.516 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.149/0.149, allocations: 32.81 MB / 295.4 MB, free: 15.38 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.124e-05, allocations: 2.312 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.001988/0.002009, allocations: 1.75 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009987/0.003008, allocations: 0.9897 MB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.003076, allocations: 4 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.003322, allocations: 39.7 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.003567, allocations: 95.48 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.003734, allocations: 87.59 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.003854, allocations: 103.6 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.192e-05/0.003926, allocations: 11.98 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.004021, allocations: 51.84 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.004083, allocations: 31.84 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.004097, allocations: 4 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.004163, allocations: 43.92 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.004203, allocations: 23.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.004237, allocations: 23.91 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.004371, allocations: 95.66 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.004373, allocations: 3.938 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004373, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.004377, allocations: 4 kB / 380.7 MB, free: 22.13 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.0003069/0.004684, allocations: 451.8 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.004712, allocations: 11.98 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.004743, allocations: 16.84 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.004848, allocations: 145.1 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.004861, allocations: 4.375 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.004876, allocations: 8.375 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.838e-05/0.004964, allocations: 54.94 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004972, allocations: 3.938 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.004978, allocations: 4 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.004982, allocations: 0 / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.005006, allocations: 19.92 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.005191, allocations: 264.3 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.089e-05/0.005262, allocations: 51.16 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.005279, allocations: 19.67 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.00529, allocations: 7.938 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/0.005358, allocations: 68.98 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.005359, allocations: 3.984 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002628/0.005622, allocations: 129.5 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.005641, allocations: 51.41 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.005716, allocations: 229.8 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.005724, allocations: 25.7 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.005756, allocations: 154.8 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.005778, allocations: 39.7 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.005807, allocations: 27.38 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.005857, allocations: 0.4962 MB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.005874, allocations: 11.98 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.005895, allocations: 23.38 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.005935, allocations: 51.28 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005936, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.582e-05/0.006022, allocations: 89.47 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.006033, allocations: 4 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.006038, allocations: 4.031 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.006047, allocations: 4 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.006105, allocations: 15.98 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006108, allocations: 160 / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.006137, allocations: 8 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.006143, allocations: 3.984 kB / 383.2 MB, free: 19.45 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 4.83e-05/0.006191, allocations: 160.6 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.006206, allocations: 27.77 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.006318, allocations: 91.14 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.006319, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006321, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006325, allocations: 7.984 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.006517, allocations: 358 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006518, allocations: 0 / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.006544, allocations: 15.94 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006546, allocations: 4 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.006553, allocations: 3.984 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006554, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.006556, allocations: 4 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.667e-05/0.006653, allocations: 259.7 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.006663, allocations: 11.98 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.006678, allocations: 0 / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.94e-05/0.006717, allocations: 4 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.006741, allocations: 11.98 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.006752, allocations: 4 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.006802, allocations: 167.1 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006802, allocations: 0 / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.006974, allocations: 27.88 kB / 384.3 MB, free: 18.23 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.0009149/0.007889, allocations: 431.1 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.993e-05/0.007978, allocations: 55.53 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.00798, allocations: 0 / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.00801, allocations: 35.59 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.008233, allocations: 38.94 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.008492, allocations: 215.9 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.008519, allocations: 75.19 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.217e-05/0.008551, allocations: 17.09 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.008604, allocations: 90.19 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008605, allocations: 0 / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003142/0.01175, allocations: 2.058 MB / 387.3 MB, free: 15.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.1964685800485313]