Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.001032/0.001032, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009284/0.0009284, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9819/0.9819, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.36 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.198e-05, allocations: 4.281 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002659/0.002691, allocations: 1.657 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005765/0.003267, allocations: 327.4 kB / 349.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.00332, allocations: 0 / 349.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.003829, allocations: 455 kB / 350.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.004165, allocations: 255.4 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.004436, allocations: 103.7 kB / 350.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.004637, allocations: 163.6 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004743, allocations: 12.17 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004864, allocations: 115.8 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.005064, allocations: 235.6 kB / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.005086, allocations: 4 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.005171, allocations: 39.91 kB / 351 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.005268, allocations: 79.72 kB / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.005308, allocations: 35.75 kB / 351.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.005556, allocations: 195.2 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.00556, allocations: 3.938 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005561, allocations: 0 / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.005567, allocations: 0 / 351.3 MB, free: 5.793 MB / 282.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.0005665/0.006134, allocations: 0.6738 MB / 352 MB, free: 5.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.006177, allocations: 12.03 kB / 352 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.006241, allocations: 48.66 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.006436, allocations: 248.8 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.006448, allocations: 4.375 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.006475, allocations: 4.375 kB / 352.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006605, allocations: 54.95 kB / 352.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.006617, allocations: 192 / 352.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.006628, allocations: 7.938 kB / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.006635, allocations: 0 / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.006672, allocations: 7.984 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.007158, allocations: 427.6 kB / 352.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.007372, allocations: 46.98 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.007399, allocations: 15.69 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.007423, allocations: 0 / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.007442, allocations: 37.47 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.007443, allocations: 0 / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004279/0.007871, allocations: 180.7 kB / 353.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.007895, allocations: 63.34 kB / 353.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.008332, allocations: 0.6199 MB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.008341, allocations: 25.7 kB / 353.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.008473, allocations: 274.8 kB / 354 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.008497, allocations: 27.86 kB / 354.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.00853, allocations: 27.38 kB / 354.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.008621, allocations: 0.5547 MB / 354.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.008641, allocations: 4 kB / 354.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.008662, allocations: 4 kB / 354.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.008702, allocations: 31.8 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008703, allocations: 0 / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.008808, allocations: 89.42 kB / 354.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.008823, allocations: 11.94 kB / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.008829, allocations: 0 / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.008848, allocations: 3.984 kB / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.008906, allocations: 12 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.008911, allocations: 0 / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.008944, allocations: 4 kB / 354.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.00895, allocations: 0 / 354.8 MB, free: 2.094 MB / 282.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.342e-05/0.009014, allocations: 168.5 kB / 355 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.009058, allocations: 43.72 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.009212, allocations: 89.41 kB / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.009215, allocations: 0 / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.009219, allocations: 0 / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.009222, allocations: 7.922 kB / 355.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.00958, allocations: 465.3 kB / 355.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.009582, allocations: 0 / 355.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.009629, allocations: 12 kB / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009632, allocations: 0 / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.00964, allocations: 4 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.009642, allocations: 192 / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009644, allocations: 4 kB / 355.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.009758, allocations: 247.5 kB / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.009785, allocations: 31.72 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.009806, allocations: 3.984 kB / 355.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.009869, allocations: 8 kB / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.009903, allocations: 0 / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.009908, allocations: 4 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002561/0.01016, allocations: 422.8 kB / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01016, allocations: 0 / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.01043, allocations: 31.88 kB / 356.3 MB, free: 0.5078 MB / 282.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.0009592/0.01138, allocations: 374.6 kB / 356.7 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.01149, allocations: 35.61 kB / 356.7 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01149, allocations: 0 / 356.7 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.01152, allocations: 23.69 kB / 356.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01186, allocations: 35.14 kB / 356.8 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.01266, allocations: 0.5665 MB / 357.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.991e-05/0.01276, allocations: 123.2 kB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.0128, allocations: 4 kB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.01283, allocations: 16.48 kB / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01283, allocations: 0 / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of Templates: time 0.005173/0.01801, allocations: 1.354 MB / 358.8 MB, free: 14.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.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.2632435131818056]