Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001108/0.001108, 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.001191/0.001191, 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.9617/0.9617, allocations: 177.1 MB / 206 MB, free: 4.477 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.1378/0.1378, allocations: 32.8 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.359e-05, allocations: 9.406 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003132/0.003166, allocations: 1.622 MB / 378.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004221, allocations: 0.522 MB / 379.4 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004331, allocations: 3.938 kB / 379.4 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.00466, allocations: 23.84 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.004942, allocations: 87.55 kB / 379.5 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.005151, allocations: 83.66 kB / 379.6 MB, free: 23.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.005282, allocations: 71.75 kB / 379.7 MB, free: 23.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.005374, allocations: 15.8 kB / 379.7 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.005424, allocations: 31.92 kB / 379.7 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.005484, allocations: 15.97 kB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.005497, allocations: 4 kB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.005561, allocations: 31.98 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.005601, allocations: 15.92 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.005621, allocations: 7.938 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.005754, allocations: 71.73 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005757, allocations: 0 / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005758, allocations: 0 / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.005762, allocations: 4 kB / 379.9 MB, free: 22.96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002636/0.006026, allocations: 424 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.006058, allocations: 11.98 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.006087, allocations: 12.89 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.006175, allocations: 136.4 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.006184, allocations: 8.375 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.006199, allocations: 384 / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.442e-05/0.006273, allocations: 50.95 kB / 380.5 MB, free: 22.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.006282, allocations: 8.172 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.006289, allocations: 8.125 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.006294, allocations: 0 / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.006312, allocations: 7.938 kB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.006475, allocations: 248.5 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.006597, allocations: 43.03 kB / 380.8 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.006611, allocations: 11.69 kB / 380.8 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.006627, allocations: 8.016 kB / 380.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.006644, allocations: 41.33 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.006645, allocations: 0 / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000241/0.006886, allocations: 85.5 kB / 381 MB, free: 21.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.006907, allocations: 59.41 kB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.006973, allocations: 200.7 kB / 381.2 MB, free: 21.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.006978, allocations: 29.7 kB / 381.2 MB, free: 21.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.007006, allocations: 146.8 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.007023, allocations: 19.88 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.007045, allocations: 23.38 kB / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.00709, allocations: 0.4923 MB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.0071, allocations: 4 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.007112, allocations: 4 kB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.007139, allocations: 19.67 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.00714, allocations: 3.938 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.545e-05/0.007195, allocations: 65.55 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.007205, allocations: 4 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.00721, allocations: 7.938 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.007219, allocations: 7.984 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.574e-05/0.007254, allocations: 8 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.007257, allocations: 0 / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.007272, allocations: 4 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.007276, allocations: 0 / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.176e-05/0.007318, allocations: 160.5 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.007335, allocations: 7.953 kB / 382.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.00742, allocations: 74.34 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007421, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007423, allocations: 4 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.007426, allocations: 3.984 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.007586, allocations: 294 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.007587, allocations: 0 / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.007615, allocations: 12 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007617, allocations: 3.938 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.007622, allocations: 4 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.007623, allocations: 0 / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007624, allocations: 0 / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.761e-05/0.007692, allocations: 203.8 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.007699, allocations: 19.94 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.007709, allocations: 0 / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.778e-05/0.007736, allocations: 0 / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.007758, allocations: 8 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.007761, allocations: 3.984 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.019e-05/0.007791, allocations: 147.2 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007791, allocations: 0 / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.007938, allocations: 15.94 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008246/0.008763, allocations: 395.7 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.008846, allocations: 27.67 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.008848, allocations: 3.938 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.008865, allocations: 19.8 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.009071, allocations: 22.81 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.009332, allocations: 180.5 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.231e-05/0.009354, allocations: 66.58 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.009378, allocations: 8 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.009419, allocations: 82.19 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.009419, allocations: 0 / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of Templates: time 0.002467/0.01189, allocations: 1.279 MB / 385.1 MB, free: 17.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.2616278659552336]