Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001287/0.001287, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001976/0.003262, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001097/0.001097, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002445, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/1.13, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3028/0.3028, allocations: 32.81 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02767/0.3305, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 1.531 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.239e-05, allocations: 3.297 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00555/0.005572, allocations: 1.744 MB / 292.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.007187, allocations: 1.321 MB / 293.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.007239, allocations: 0 / 293.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.007364, allocations: 25.14 kB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.00763, allocations: 80.27 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.007939, allocations: 139 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.008066, allocations: 67.84 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.814e-05/0.008144, allocations: 11.98 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.008248, allocations: 63.72 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.00835, allocations: 31.89 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.008365, allocations: 4 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.008572, allocations: 95.88 kB / 294.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.008623, allocations: 15.92 kB / 294.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.008647, allocations: 12 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.008865, allocations: 131.5 kB / 294.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.008879, allocations: 0 / 294.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.00888, allocations: 4 kB / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.008895, allocations: 0 / 294.4 MB, free: 4.539 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.000423/0.009318, allocations: 320.7 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.009348, allocations: 8.031 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.009382, allocations: 4.938 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.009537, allocations: 133.7 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.009549, allocations: 12.3 kB / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.009566, allocations: 384 / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.009702, allocations: 102.3 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.009711, allocations: 4.188 kB / 294.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.009722, allocations: 12.11 kB / 294.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.009727, allocations: 0 / 294.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.009755, allocations: 4 kB / 294.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.009966, allocations: 176.2 kB / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.991e-05/0.01003, allocations: 26.56 kB / 295.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.01004, allocations: 8.859 kB / 295.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.01006, allocations: 0 / 295.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.01009, allocations: 38.5 kB / 295.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.01009, allocations: 0 / 295.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003429/0.01043, allocations: 113.6 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.01046, allocations: 55.41 kB / 295.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.01056, allocations: 133 kB / 295.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.01057, allocations: 33.7 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.0106, allocations: 92.11 kB / 295.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.01062, allocations: 23.69 kB / 295.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.01066, allocations: 29.69 kB / 295.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.01075, allocations: 318.8 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.01077, allocations: 8 kB / 296 MB, free: 2.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.0108, allocations: 43.42 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.01084, allocations: 32.81 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01084, allocations: 0 / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.631e-05/0.01092, allocations: 53.86 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.01093, allocations: 4 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01094, allocations: 80 / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.01095, allocations: 0 / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.01104, allocations: 27.92 kB / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.01104, allocations: 3.984 kB / 296.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.01108, allocations: 11.98 kB / 296.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.01108, allocations: 32 / 296.2 MB, free: 2.562 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 (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.995e-05/0.01114, allocations: 120.7 kB / 296.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.01117, allocations: 7.938 kB / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.01128, allocations: 66.44 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01128, allocations: 3.938 kB / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01128, allocations: 0 / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01128, allocations: 3.938 kB / 296.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.01152, allocations: 226.7 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01152, allocations: 4 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.01158, allocations: 15.98 kB / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.01159, allocations: 11.95 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01159, allocations: 0 / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.0116, allocations: 0 / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.0116, allocations: 0 / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0116, allocations: 3.938 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.431e-05/0.01169, allocations: 159.5 kB / 296.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.01171, allocations: 0 / 296.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.01176, allocations: 4 kB / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.01179, allocations: 7.984 kB / 296.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.01179, allocations: 0 / 296.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.01183, allocations: 38.69 kB / 296.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01183, allocations: 4 kB / 296.8 MB, free: 1.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.01205, allocations: 35.88 kB / 296.9 MB, free: 1.805 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 (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.001614/0.01366, allocations: 0.6955 MB / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.846e-05/0.01376, allocations: 36.77 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.01377, allocations: 0 / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.01379, allocations: 20.84 kB / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.01399, allocations: 30.42 kB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.01448, allocations: 202.5 kB / 297.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.01453, allocations: 59.34 kB / 297.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.69e-05/0.01458, allocations: 16.28 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.01466, allocations: 71.36 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01466, allocations: 0 / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Templates: time 0.004393/0.01905, allocations: 2.149 MB / 300.1 MB, free: 14.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.9830374736338854]