Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001391/0.001391, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001201/0.001201, allocations: 173 kB / 24.91 MB, free: 8.773 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.9442/0.9442, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2908/0.2908, allocations: 34.26 MB / 296.1 MB, free: 0.625 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.542e-05, allocations: 3.078 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.00325/0.003275, allocations: 1.702 MB / 327 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.005099, allocations: 1.32 MB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.005157, allocations: 4 kB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.005377, allocations: 23.84 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.005704, allocations: 87.55 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.006117, allocations: 175.4 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.00628, allocations: 79.7 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.006384, allocations: 23.97 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.006471, allocations: 39.91 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.006586, allocations: 27.91 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.006606, allocations: 8 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.006773, allocations: 83.88 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.006838, allocations: 23.92 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.006876, allocations: 24.41 kB / 328.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.007122, allocations: 139.5 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.007127, allocations: 3.984 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007128, allocations: 3.938 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.007131, allocations: 0 / 329 MB, free: 3.914 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004253/0.007556, allocations: 309.7 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.007594, allocations: 8.031 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.007638, allocations: 12.92 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.007814, allocations: 132 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.007827, allocations: 8.375 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.007852, allocations: 4.359 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.008021, allocations: 102.4 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.008032, allocations: 192 / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.008045, allocations: 4.125 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.008051, allocations: 0 / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.008086, allocations: 19.98 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.008372, allocations: 175 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.92e-05/0.008441, allocations: 26.56 kB / 329.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.008461, allocations: 8.859 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.008477, allocations: 7.938 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.008503, allocations: 34.5 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.008504, allocations: 0 / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003593/0.008863, allocations: 121.8 kB / 330 MB, free: 2.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.008899, allocations: 85.03 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.008984, allocations: 134.7 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.008995, allocations: 29.7 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.009025, allocations: 92.08 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.009045, allocations: 23.78 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.009077, allocations: 25.7 kB / 330.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.009153, allocations: 322.8 kB / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.009166, allocations: 4 kB / 330.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/0.009199, allocations: 47.41 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.009235, allocations: 31.66 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.009236, allocations: 4.031 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.339e-05/0.009309, allocations: 61.64 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.009324, allocations: 4 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.00933, allocations: 3.984 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.009346, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.009414, allocations: 19.98 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.009417, allocations: 4.312 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.00944, allocations: 4 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.009445, allocations: 0 / 330.8 MB, free: 1.895 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 (7): * Single equations (assignments): 7 * 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.916e-05/0.009505, allocations: 120.7 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.009523, allocations: 11.92 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.009627, allocations: 66.38 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.009629, allocations: 4 kB / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.009631, allocations: 0 / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009634, allocations: 0 / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.009832, allocations: 226.7 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.009833, allocations: 0 / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.009872, allocations: 19.92 kB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.009874, allocations: 0 / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.00988, allocations: 4 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.009881, allocations: 4 kB / 331.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009882, allocations: 3.938 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.875e-05/0.009971, allocations: 155.5 kB / 331.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.00998, allocations: 7.953 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.009992, allocations: 3.984 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.01003, allocations: 8 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.01006, allocations: 11.98 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.01006, allocations: 0 / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.194e-05/0.01009, allocations: 31.8 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01009, allocations: 0 / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.01026, allocations: 47.86 kB / 331.6 MB, free: 1.125 MB / 298.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 (7): * Single equations (assignments): 7 * 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.001281/0.01154, allocations: 0.6248 MB / 332.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.007e-05/0.01163, allocations: 32.83 kB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.01163, allocations: 0 / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.01165, allocations: 20.8 kB / 332.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.0118, allocations: 35.81 kB / 332.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.01209, allocations: 198.6 kB / 332.5 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.01212, allocations: 67.34 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.27e-05/0.01216, allocations: 17.02 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.01223, allocations: 67.36 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01223, allocations: 0 / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of Templates: time 0.003558/0.01579, allocations: 2.147 MB / 334.8 MB, free: 14.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.998103461228311]