Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001122/0.001122, 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.001263/0.001263, 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 0.9599/0.9599, allocations: 177.1 MB / 206 MB, free: 4.5 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.1488/0.1488, allocations: 32.81 MB / 295.4 MB, free: 15.39 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.443e-05, allocations: 5.547 kB / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002121/0.002146, allocations: 1.747 MB / 379.1 MB, free: 23.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003301, allocations: 0.9974 MB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003408, allocations: 0 / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.003766, allocations: 87.56 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.004062, allocations: 115.5 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.004227, allocations: 75.67 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.004372, allocations: 131.5 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.004462, allocations: 4 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.004541, allocations: 63.81 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.004628, allocations: 63.86 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.004643, allocations: 7.938 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.004711, allocations: 43.92 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.004755, allocations: 19.92 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.004786, allocations: 23.86 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004935, allocations: 103.6 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.004938, allocations: 0 / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004939, allocations: 0 / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004944, allocations: 0 / 380.8 MB, free: 22.03 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.0003532/0.005297, allocations: 467.7 kB / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.00533, allocations: 11.98 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.005365, allocations: 20.83 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.005485, allocations: 160.4 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.0055, allocations: 4.312 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.005516, allocations: 4.375 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.698e-05/0.005613, allocations: 58.94 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.005622, allocations: 3.938 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.00563, allocations: 4 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.005634, allocations: 4 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.005657, allocations: 7.984 kB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.005868, allocations: 268.3 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.005949, allocations: 47.17 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.005969, allocations: 23.67 kB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.005979, allocations: 0 / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.854e-05/0.006058, allocations: 68.92 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.006059, allocations: 0 / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002836/0.006342, allocations: 137.4 kB / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.006362, allocations: 51.41 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.006453, allocations: 247.5 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.006461, allocations: 29.7 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.006503, allocations: 154.9 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.006529, allocations: 31.78 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.00656, allocations: 23.38 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.006613, allocations: 0.504 MB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.006628, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.006651, allocations: 31.36 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.00669, allocations: 47.3 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006691, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.063e-05/0.006782, allocations: 85.56 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006795, allocations: 6.031 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006799, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.006808, allocations: 4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.006871, allocations: 15.94 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.006873, allocations: 0 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.006904, allocations: 11.98 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.006909, allocations: 0 / 383.3 MB, free: 19.31 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.808e-05/0.006967, allocations: 168.5 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.006982, allocations: 19.84 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.007105, allocations: 107.2 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.007108, allocations: 7.938 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.00711, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007114, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.007318, allocations: 365.9 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.00732, allocations: 0 / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.007346, allocations: 12 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007349, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.007356, allocations: 8 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.007357, allocations: 3.938 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.007359, allocations: 4.031 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.725e-05/0.007456, allocations: 259.4 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.007467, allocations: 11.94 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.007482, allocations: 3.984 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.007521, allocations: 8 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.007545, allocations: 7.984 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.007555, allocations: 0 / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.568e-05/0.0076, allocations: 177.6 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007601, allocations: 0 / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.00778, allocations: 24 kB / 384.5 MB, free: 18.07 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.0008923/0.008672, allocations: 434.9 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.008763, allocations: 51.52 kB / 385 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.008765, allocations: 0 / 385 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.008792, allocations: 31.61 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.009009, allocations: 35.08 kB / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.009286, allocations: 234.5 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.009316, allocations: 75.33 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.009347, allocations: 16.97 kB / 385.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.0094, allocations: 90.19 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009401, allocations: 0 / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of Templates: time 0.003556/0.01296, allocations: 2.064 MB / 387.5 MB, free: 15.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.1318524167872965]