Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001033/0.001033, allocations: 80.41 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.001174/0.001174, allocations: 170.4 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 1.031/1.031, allocations: 177.1 MB / 206 MB, free: 4.531 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.1382/0.1382, allocations: 32.8 MB / 295.4 MB, free: 15.5 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.98e-05, allocations: 10.31 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002955/0.002985, allocations: 1.674 MB / 379 MB, free: 23.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.00387, allocations: 0.5336 MB / 379.5 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.003952, allocations: 4 kB / 379.5 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.004476, allocations: 451 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.004926, allocations: 295.2 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.005235, allocations: 127.6 kB / 380.4 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.005463, allocations: 171.6 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.005564, allocations: 19.78 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.005689, allocations: 123.7 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.005902, allocations: 239.6 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.00592, allocations: 4 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.006004, allocations: 31.98 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.006097, allocations: 83.7 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.006133, allocations: 35.75 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.006369, allocations: 203.1 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006373, allocations: 0 / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006374, allocations: 0 / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.00638, allocations: 3.938 kB / 381.2 MB, free: 21.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005925/0.006972, allocations: 0.7009 MB / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.007015, allocations: 11.98 kB / 382 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.007079, allocations: 48.66 kB / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.007299, allocations: 244.8 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.00731, allocations: 4.375 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.007329, allocations: 4.375 kB / 382.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.00743, allocations: 58.89 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.007441, allocations: 4.172 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.007449, allocations: 4.125 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.007455, allocations: 4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.669e-05/0.007482, allocations: 11.98 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.00779, allocations: 328.4 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.007943, allocations: 42.98 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.007958, allocations: 7.688 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.007977, allocations: 7.938 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.007994, allocations: 41.39 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.007996, allocations: 0 / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000342/0.008338, allocations: 133.3 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.008361, allocations: 51.41 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.00878, allocations: 0.604 MB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.008787, allocations: 25.7 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.008935, allocations: 294.7 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.008957, allocations: 19.83 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.00899, allocations: 27.36 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.009088, allocations: 0.5547 MB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.009103, allocations: 4 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.009116, allocations: 4 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.009153, allocations: 23.61 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.009154, allocations: 0 / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.94e-05/0.009254, allocations: 101.5 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.009268, allocations: 14.03 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009274, allocations: 4 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.009283, allocations: 0 / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.009343, allocations: 11.98 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.009346, allocations: 0 / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.009382, allocations: 4 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.009388, allocations: 0 / 384.6 MB, free: 18.04 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 6.743e-05/0.009455, allocations: 160.5 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.009501, allocations: 43.66 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.009649, allocations: 101.2 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.009655, allocations: 0 / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.009656, allocations: 0 / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.00966, allocations: 0 / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.009988, allocations: 393.8 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.00999, allocations: 0 / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.01004, allocations: 8 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01004, allocations: 0 / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.01005, allocations: 4 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01005, allocations: 0 / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01005, allocations: 0 / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.01017, allocations: 243.6 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.0102, allocations: 35.7 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01022, allocations: 7.938 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.01028, allocations: 4.188 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.01031, allocations: 0 / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.01031, allocations: 8 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002095/0.01052, allocations: 394.7 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01052, allocations: 0 / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.01077, allocations: 27.98 kB / 386 MB, free: 16.57 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.001157/0.01193, allocations: 385.2 kB / 386.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.938e-05/0.01202, allocations: 23.67 kB / 386.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01202, allocations: 4 kB / 386.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.01205, allocations: 27.61 kB / 386.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.01241, allocations: 36.73 kB / 386.5 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.01308, allocations: 0.567 MB / 387 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.98e-05/0.01316, allocations: 123.1 kB / 387.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.194e-05/0.0132, allocations: 4 kB / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01326, allocations: 82.19 kB / 387.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01326, allocations: 0 / 387.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of Templates: time 0.004774/0.01803, allocations: 1.497 MB / 388.7 MB, free: 13.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.280686039943248]