Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001138/0.001138, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001127/0.001127, allocations: 171.7 kB / 25.61 MB, free: 8.57 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.9518/0.9518, allocations: 177.1 MB / 206 MB, free: 4.512 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.1691/0.1691, allocations: 32.8 MB / 295.4 MB, free: 15.4 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.312e-05, allocations: 6.141 kB / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003085/0.003108, allocations: 1.922 MB / 379.3 MB, free: 23.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.004853, allocations: 1.09 MB / 380.4 MB, free: 22.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.004969, allocations: 0 / 380.4 MB, free: 22.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.005357, allocations: 167.3 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.005801, allocations: 187.2 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.006125, allocations: 123.5 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.006418, allocations: 247.2 kB / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.006527, allocations: 21.95 kB / 381.1 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.006704, allocations: 139.6 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.006863, allocations: 127.7 kB / 381.4 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.006888, allocations: 12 kB / 381.4 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.007013, allocations: 67.84 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.657e-05/0.007089, allocations: 59.77 kB / 381.5 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.007144, allocations: 43.78 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.007387, allocations: 183.3 kB / 381.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.00739, allocations: 0 / 381.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00739, allocations: 0 / 381.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.007395, allocations: 0 / 381.7 MB, free: 21.14 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000537/0.007932, allocations: 0.573 MB / 382.3 MB, free: 20.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.007966, allocations: 15.98 kB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.008027, allocations: 32.8 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.008245, allocations: 212.6 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.008264, allocations: 8.375 kB / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.008288, allocations: 8.328 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.00845, allocations: 114.2 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.008464, allocations: 7.938 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.008475, allocations: 3.984 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.008482, allocations: 4 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.008538, allocations: 27.91 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.008919, allocations: 459.2 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.009152, allocations: 121.9 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.009195, allocations: 35.61 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.009207, allocations: 4 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.009343, allocations: 108.3 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.009345, allocations: 0 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007983/0.01014, allocations: 377.4 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.01017, allocations: 81.11 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.01038, allocations: 346.1 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.0104, allocations: 33.7 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.01049, allocations: 211.2 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.01055, allocations: 71.38 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.01061, allocations: 47.34 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.01069, allocations: 0.5235 MB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.01074, allocations: 23.98 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.01081, allocations: 70.7 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.01093, allocations: 111.4 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01093, allocations: 0 / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000231/0.01116, allocations: 188.1 kB / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01118, allocations: 8 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01118, allocations: 0 / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.0112, allocations: 4 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01132, allocations: 39.97 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.01132, allocations: 12 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.01139, allocations: 11.94 kB / 385.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.0114, allocations: 8 kB / 385.6 MB, free: 17.02 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.017e-05/0.01148, allocations: 176.5 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.01153, allocations: 35.81 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.01182, allocations: 216.3 kB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01182, allocations: 4 kB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01182, allocations: 0 / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.01183, allocations: 3.938 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.01235, allocations: 0.6908 MB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01235, allocations: 0 / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.01243, allocations: 35.92 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01244, allocations: 7.938 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01245, allocations: 8 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01245, allocations: 0 / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01246, allocations: 4 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.01274, allocations: 0.4964 MB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.01277, allocations: 35.88 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.0128, allocations: 8 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.01294, allocations: 7.984 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01298, allocations: 23.97 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.013, allocations: 4 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.01312, allocations: 238.9 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01312, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.01348, allocations: 47.94 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001358/0.01484, allocations: 0.4914 MB / 388.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.01498, allocations: 107.7 kB / 388.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01498, allocations: 0 / 388.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.01503, allocations: 67.83 kB / 388.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.01535, allocations: 79.08 kB / 388.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.01574, allocations: 463.8 kB / 388.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.01578, allocations: 100.2 kB / 388.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.303e-05/0.01585, allocations: 37.94 kB / 388.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.01593, allocations: 118.2 kB / 389 MB, free: 13.56 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01593, allocations: 0 / 389 MB, free: 13.56 MB / 314.7 MB Notification: Performance of Templates: time 0.004608/0.02054, allocations: 3.723 MB / 392.8 MB, free: 9.906 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.244578205049038]