Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.0008953/0.0008953, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009881/0.0009881, allocations: 170.8 kB / 24.92 MB, free: 9.145 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.9824/0.9824, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2865/0.2865, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.262e-05, allocations: 6.047 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002188/0.00221, allocations: 1.724 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.003012, allocations: 0.5685 MB / 327.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.003075, allocations: 3.938 kB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.003333, allocations: 71.66 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.003589, allocations: 91.55 kB / 327.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.003919, allocations: 175.5 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004077, allocations: 91.75 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.004164, allocations: 24.16 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.004234, allocations: 47.88 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.004331, allocations: 43.89 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004345, allocations: 7.938 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.00444, allocations: 51.91 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.004503, allocations: 23.92 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.00453, allocations: 16.44 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.004695, allocations: 99.62 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004698, allocations: 4 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.0047, allocations: 0 / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004704, allocations: 4 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003443/0.005049, allocations: 309.6 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.005089, allocations: 12.03 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.005118, allocations: 8.922 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.005248, allocations: 142.3 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.005256, allocations: 384 / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.005277, allocations: 8.375 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.005392, allocations: 62.88 kB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.005401, allocations: 192 / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.00541, allocations: 8.125 kB / 328.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005416, allocations: 8 kB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.005441, allocations: 7.984 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.005672, allocations: 194.9 kB / 329 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.005796, allocations: 38.55 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.005812, allocations: 12.8 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.005827, allocations: 128 / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.005848, allocations: 42.5 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.005849, allocations: 0 / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005111/0.006361, allocations: 202.8 kB / 329.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.006388, allocations: 51.41 kB / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.006482, allocations: 166.2 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.006495, allocations: 33.7 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.006527, allocations: 96.06 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.006553, allocations: 39.67 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.006585, allocations: 25.7 kB / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.006657, allocations: 330.8 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.006676, allocations: 11.98 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.006694, allocations: 8 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.00682, allocations: 50.88 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006822, allocations: 4 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.309e-05/0.006895, allocations: 65.61 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.006906, allocations: 10.34 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.00691, allocations: 0 / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.006921, allocations: 0 / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.006978, allocations: 19.98 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006982, allocations: 4 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.007007, allocations: 15.98 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007013, allocations: 0 / 330.2 MB, free: 2.512 MB / 298.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 (11): * Single equations (assignments): 11 * 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.811e-05/0.007071, allocations: 120.5 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.007088, allocations: 8 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.007209, allocations: 90.36 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.007211, allocations: 4 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007213, allocations: 0 / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007216, allocations: 0 / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.007471, allocations: 288.2 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007473, allocations: 0 / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.007519, allocations: 19.98 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.007523, allocations: 7.984 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.007529, allocations: 0 / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00753, allocations: 0 / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.007534, allocations: 4 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.929e-05/0.007633, allocations: 181.1 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.007644, allocations: 15.92 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.007657, allocations: 4 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.007695, allocations: 8.062 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.007722, allocations: 15.86 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.007727, allocations: 4 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.007768, allocations: 53.11 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007768, allocations: 0 / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001431/0.007911, allocations: 27.94 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001125/0.009036, allocations: 0.577 MB / 331.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.009144, allocations: 48.75 kB / 331.7 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.00915, allocations: 8 kB / 331.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.009179, allocations: 32.78 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.009333, allocations: 23.94 kB / 331.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.009649, allocations: 264.3 kB / 332 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.009689, allocations: 75.33 kB / 332.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.009727, allocations: 16.48 kB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.009918, allocations: 59.38 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009918, allocations: 4 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of Templates: time 0.003059/0.01298, allocations: 1.753 MB / 333.9 MB, free: 15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.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: 2.959768629167229]