Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008811/0.0008811, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.002017, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006597/0.0006597, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009518/0.001611, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.008/1.008, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1548/1.163, allocations: 52.5 MB / 238.5 MB, free: 7.605 MB / 234.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.1395/0.1395, allocations: 32.79 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.022/0.1615, allocations: 12.54 MB / 284.6 MB, free: 9.695 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.423e-05, allocations: 6.312 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003115/0.003139, allocations: 1.699 MB / 287.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.003968, allocations: 426.8 kB / 288 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.004032, allocations: 8 kB / 288 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.004614, allocations: 483 kB / 288.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.004981, allocations: 279.2 kB / 288.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.00533, allocations: 131.5 kB / 288.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.005558, allocations: 159.6 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.005653, allocations: 12.17 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.005862, allocations: 147.8 kB / 289.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.006085, allocations: 195.6 kB / 289.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.006108, allocations: 4 kB / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.006208, allocations: 27.94 kB / 289.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.006325, allocations: 79.72 kB / 289.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.006366, allocations: 31.75 kB / 289.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.006642, allocations: 195.2 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.006655, allocations: 4 kB / 289.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006656, allocations: 0 / 289.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.006669, allocations: 0 / 289.7 MB, free: 4.516 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.0006492/0.007318, allocations: 0.5798 MB / 290.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.007351, allocations: 8.031 kB / 290.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.007403, allocations: 24.91 kB / 290.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.007629, allocations: 250 kB / 290.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.007638, allocations: 384 / 290.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.007661, allocations: 4.375 kB / 290.6 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.007772, allocations: 58.94 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007782, allocations: 192 / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.007792, allocations: 11.94 kB / 290.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.007798, allocations: 0 / 290.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.91e-05/0.007828, allocations: 15.97 kB / 290.7 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.008063, allocations: 156.2 kB / 290.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.008214, allocations: 34.62 kB / 290.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.00823, allocations: 8.859 kB / 290.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.00825, allocations: 3.938 kB / 290.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.008272, allocations: 30.56 kB / 290.9 MB, free: 3.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.008273, allocations: 4 kB / 290.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003224/0.008595, allocations: 101.6 kB / 291 MB, free: 3.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.008625, allocations: 51.41 kB / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.009062, allocations: 0.5244 MB / 291.6 MB, free: 2.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.009075, allocations: 25.7 kB / 291.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.009154, allocations: 145.2 kB / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.009177, allocations: 15.89 kB / 291.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.009209, allocations: 13.72 kB / 291.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.00932, allocations: 358.7 kB / 292.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.009332, allocations: 0 / 292.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.009343, allocations: 7.938 kB / 292.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.009377, allocations: 20.84 kB / 292.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.009378, allocations: 8 kB / 292.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.789e-05/0.009466, allocations: 65.59 kB / 292.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.009479, allocations: 4 kB / 292.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.009483, allocations: 3.938 kB / 292.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.009497, allocations: 0 / 292.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.009552, allocations: 12 kB / 292.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.009558, allocations: 7.922 kB / 292.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.00959, allocations: 0 / 292.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.009597, allocations: 4 kB / 292.2 MB, free: 1.824 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 7.852e-05/0.009675, allocations: 116.7 kB / 292.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.009715, allocations: 27.91 kB / 292.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.009849, allocations: 85.42 kB / 292.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009852, allocations: 0 / 292.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.009853, allocations: 0 / 292.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.009857, allocations: 4 kB / 292.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.01015, allocations: 274.6 kB / 292.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01015, allocations: 0 / 292.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.01019, allocations: 11.98 kB / 292.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.01023, allocations: 35.72 kB / 292.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01023, allocations: 4 kB / 292.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.01023, allocations: 4 kB / 292.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01024, allocations: 0 / 292.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01024, allocations: 0 / 292.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.01035, allocations: 163.4 kB / 292.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.01037, allocations: 0 / 292.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.01043, allocations: 8 kB / 293 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.01046, allocations: 3.984 kB / 293 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.01046, allocations: 0 / 293 MB, free: 1.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002456/0.01071, allocations: 279.2 kB / 293.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01071, allocations: 0 / 293.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.01093, allocations: 23.94 kB / 293.3 MB, free: 0.75 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.001579/0.01251, allocations: 0.5447 MB / 293.8 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.01259, allocations: 24.78 kB / 293.8 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.0126, allocations: 4 kB / 293.8 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.01263, allocations: 20.86 kB / 293.9 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.01293, allocations: 102.7 kB / 294 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.01385, allocations: 0.5772 MB / 294.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.01394, allocations: 123.2 kB / 294.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.181e-05/0.01399, allocations: 8 kB / 294.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.01405, allocations: 55.38 kB / 294.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01405, allocations: 0 / 294.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Templates: time 0.003777/0.01783, allocations: 1.438 MB / 296.1 MB, free: 14.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8016341980546713]