Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.0008874/0.0008874, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001946, 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.0007399/0.0007399, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001862, 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 0.9889/0.9889, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1252/1.114, allocations: 53.64 MB / 243.2 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.3392/0.3392, allocations: 32.81 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03311/0.3723, allocations: 12.53 MB / 289.3 MB, free: 8.684 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.072e-05, allocations: 7.234 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.007402/0.007433, allocations: 1.745 MB / 292.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.008522, allocations: 0.585 MB / 293 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.008591, allocations: 2.812 kB / 293 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.00919, allocations: 0.4886 MB / 293.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.0096, allocations: 311.2 kB / 293.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.01307, allocations: 177.4 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.01334, allocations: 183.6 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.01346, allocations: 24.12 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.01367, allocations: 159.7 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.01391, allocations: 195.6 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.01393, allocations: 4 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.01405, allocations: 47.92 kB / 294.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.01415, allocations: 87.72 kB / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.0142, allocations: 35.75 kB / 294.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.01451, allocations: 215.1 kB / 294.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.94e-05/0.01453, allocations: 0 / 294.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01453, allocations: 0 / 294.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.01455, allocations: 4 kB / 294.9 MB, free: 4.023 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007936/0.01535, allocations: 0.5999 MB / 295.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.01539, allocations: 8.031 kB / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.01544, allocations: 20.92 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.01572, allocations: 250 kB / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.01573, allocations: 8.359 kB / 295.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.01576, allocations: 8.359 kB / 295.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.01648, allocations: 58.89 kB / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.0165, allocations: 192 / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.01652, allocations: 16.11 kB / 295.8 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01652, allocations: 0 / 295.8 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.01656, allocations: 8 kB / 295.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.01694, allocations: 210.9 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.01702, allocations: 37.38 kB / 296.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.01704, allocations: 8.797 kB / 296.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.01707, allocations: 11.94 kB / 296.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.01709, allocations: 34.56 kB / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.01709, allocations: 0 / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.01767, allocations: 161.6 kB / 296.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.01772, allocations: 51.41 kB / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.0182, allocations: 0.5244 MB / 296.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.01821, allocations: 29.7 kB / 296.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.01831, allocations: 149.2 kB / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.01834, allocations: 23.78 kB / 297.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.01838, allocations: 25.7 kB / 297.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.01852, allocations: 366.6 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.01854, allocations: 4 kB / 297.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.01855, allocations: 8 kB / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.0186, allocations: 27.89 kB / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.0186, allocations: 0 / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001151/0.01872, allocations: 81.59 kB / 297.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.01873, allocations: 8 kB / 297.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01874, allocations: 0 / 297.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.01875, allocations: 3.984 kB / 297.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.01885, allocations: 20 kB / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01885, allocations: 0 / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.01889, allocations: 3.984 kB / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.0189, allocations: 4 kB / 297.6 MB, free: 1.113 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 (8): * Single equations (assignments): 8 * 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 9.286e-05/0.01899, allocations: 120.6 kB / 297.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.01904, allocations: 23.97 kB / 297.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.01922, allocations: 105.4 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01922, allocations: 0 / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01922, allocations: 0 / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.01923, allocations: 8 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.01962, allocations: 303.4 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01962, allocations: 0 / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.01968, allocations: 20.41 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.01971, allocations: 31.72 kB / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01972, allocations: 0 / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01973, allocations: 11.94 kB / 298.2 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01973, allocations: 0 / 298.2 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01973, allocations: 0 / 298.2 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.01988, allocations: 184.2 kB / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.0199, allocations: 8.016 kB / 298.4 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.01997, allocations: 8 kB / 298.4 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.02, allocations: 3.984 kB / 298.4 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.02001, allocations: 4 kB / 298.4 MB, free: 240 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002979/0.02031, allocations: 283.2 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02031, allocations: 0 / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.02056, allocations: 31.94 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002146/0.0227, allocations: 0.6275 MB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.02284, allocations: 36.83 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.02285, allocations: 4 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.02289, allocations: 24.78 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.02322, allocations: 53.16 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02439, allocations: 0.6071 MB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.02454, allocations: 127.2 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.0246, allocations: 13.03 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.02468, allocations: 63.36 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.02468, allocations: 0 / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of Templates: time 0.006901/0.03158, allocations: 1.769 MB / 302.1 MB, free: 12.92 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.1914423322305083]