Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.001074/0.001074, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001085/0.001085, allocations: 169 kB / 24.24 MB, free: 316 kB / 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 1.015/1.015, allocations: 158.6 MB / 186 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.177/0.177, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.867e-05, allocations: 6.25 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002736/0.002775, allocations: 1.617 MB / 349.3 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005167/0.003291, allocations: 311.4 kB / 349.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.003355, allocations: 0 / 349.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.003853, allocations: 451.1 kB / 350 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.004158, allocations: 263.3 kB / 350.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.00438, allocations: 99.73 kB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.004584, allocations: 155.7 kB / 350.5 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.004711, allocations: 7.984 kB / 350.6 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.004824, allocations: 115.8 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.005013, allocations: 247.5 kB / 350.9 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.005036, allocations: 4 kB / 350.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.005108, allocations: 19.94 kB / 350.9 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.005217, allocations: 87.7 kB / 351 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.005256, allocations: 31.75 kB / 351 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.005482, allocations: 187.2 kB / 351.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.005485, allocations: 4 kB / 351.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.005487, allocations: 0 / 351.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.005495, allocations: 0 / 351.2 MB, free: 6.195 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006018/0.006097, allocations: 0.6776 MB / 351.9 MB, free: 5.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.006144, allocations: 15.97 kB / 351.9 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.00621, allocations: 40.66 kB / 352 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.006445, allocations: 244.9 kB / 352.2 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.006458, allocations: 384 / 352.2 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.006473, allocations: 8.375 kB / 352.2 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.006653, allocations: 54.95 kB / 352.3 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.006664, allocations: 192 / 352.3 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.006679, allocations: 4.125 kB / 352.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.00669, allocations: 0 / 352.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.607e-05/0.006736, allocations: 15.94 kB / 352.3 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.007157, allocations: 407.8 kB / 352.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.524e-05/0.007253, allocations: 39.05 kB / 352.7 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.007279, allocations: 11.69 kB / 352.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.007303, allocations: 3.938 kB / 352.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.007329, allocations: 33.39 kB / 352.8 MB, free: 4.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.00733, allocations: 7.938 kB / 352.8 MB, free: 4.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002075/0.007538, allocations: 89.5 kB / 352.9 MB, free: 4.422 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.007567, allocations: 51.41 kB / 352.9 MB, free: 4.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.007915, allocations: 0.6199 MB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.007923, allocations: 25.7 kB / 353.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.008058, allocations: 286.8 kB / 353.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.00808, allocations: 7.953 kB / 353.9 MB, free: 3.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.00811, allocations: 23.38 kB / 353.9 MB, free: 3.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.008208, allocations: 0.547 MB / 354.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.008224, allocations: 4 kB / 354.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.008239, allocations: 16.16 kB / 354.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.008274, allocations: 19.62 kB / 354.5 MB, free: 2.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.008278, allocations: 0 / 354.5 MB, free: 2.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.127e-05/0.008359, allocations: 89.34 kB / 354.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.008379, allocations: 4 kB / 354.6 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.008385, allocations: 0 / 354.6 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.00841, allocations: 0 / 354.6 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.008493, allocations: 8 kB / 354.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.008498, allocations: 0 / 354.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.008524, allocations: 8 kB / 354.6 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008531, allocations: 3.984 kB / 354.6 MB, free: 2.648 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 (3): * Single equations (assignments): 3 * 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.207e-05/0.008593, allocations: 160.5 kB / 354.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.008622, allocations: 51.59 kB / 354.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.008736, allocations: 85.05 kB / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.008739, allocations: 4 kB / 354.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.008745, allocations: 0 / 354.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.00875, allocations: 0 / 354.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.00896, allocations: 272.5 kB / 355.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008962, allocations: 0 / 355.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.008995, allocations: 4 kB / 355.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.008999, allocations: 3.938 kB / 355.1 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.00901, allocations: 8 kB / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.009012, allocations: 0 / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.009013, allocations: 0 / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.009131, allocations: 231.6 kB / 355.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.009157, allocations: 31.72 kB / 355.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.009175, allocations: 11.94 kB / 355.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-05/0.009212, allocations: 3.984 kB / 355.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.009272, allocations: 4 kB / 355.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.009276, allocations: 0 / 355.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.009518, allocations: 422.8 kB / 355.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009518, allocations: 0 / 355.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.009702, allocations: 20 kB / 355.9 MB, free: 1.289 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 (3): * Single equations (assignments): 3 * 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.0008119/0.01051, allocations: 333.5 kB / 356.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.01061, allocations: 15.69 kB / 356.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01062, allocations: 3.938 kB / 356.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.01063, allocations: 15.67 kB / 356.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.01095, allocations: 33.91 kB / 356.3 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.01159, allocations: 0.5587 MB / 356.8 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.01165, allocations: 115.3 kB / 356.9 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.621e-05/0.01168, allocations: 7.984 kB / 356.9 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.01171, allocations: 20.48 kB / 356.9 MB, free: 228 kB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01171, allocations: 3.938 kB / 357 MB, free: 224 kB / 282.7 MB Notification: Performance of Templates: time 0.004576/0.01628, allocations: 1.256 MB / 358.2 MB, free: 14.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.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.4797738268971443]