Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.0008456/0.0008456, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00115/0.001995, allocations: 452 kB / 10.43 MB, free: 264 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.000715/0.000715, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009608/0.001676, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8766/0.8766, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1336/1.01, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1381/0.1381, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01864/0.1567, allocations: 12.3 MB / 266.1 MB, free: 3.887 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.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.503e-05, allocations: 6.25 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.000877/0.000892, allocations: 0.5634 MB / 267.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002007, allocations: 1.386 MB / 269.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.002021, allocations: 0 / 269.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.587e-06/0.002024, allocations: 4 kB / 269.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.523e-06/0.002031, allocations: 0 / 269.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.00233, allocations: 175.4 kB / 269.5 MB, free: 436 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.742e-05/0.002367, allocations: 4 kB / 269.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.002399, allocations: 0 / 269.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.002438, allocations: 15.98 kB / 269.5 MB, free: 416 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.002483, allocations: 0 / 269.5 MB, free: 416 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.002495, allocations: 0 / 269.5 MB, free: 416 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.002843, allocations: 308 kB / 269.8 MB, free: 108 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.002852, allocations: 0 / 269.8 MB, free: 108 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.078e-05/0.002863, allocations: 4 kB / 269.8 MB, free: 104 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.003043, allocations: 135.8 kB / 270 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.003053, allocations: 0 / 270 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.003053, allocations: 0 / 270 MB, free: 15.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.003061, allocations: 0 / 270 MB, free: 15.96 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002509/0.003312, allocations: 248.4 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.003339, allocations: 12.03 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.003365, allocations: 4.922 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.203e-05/0.003437, allocations: 109.7 kB / 270.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.003445, allocations: 4.375 kB / 270.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.003454, allocations: 384 / 270.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.154e-05/0.003525, allocations: 59.91 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.003531, allocations: 4.188 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.003538, allocations: 4.375 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.003544, allocations: 3.938 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-06/0.003551, allocations: 3.984 kB / 270.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.046e-05/0.003612, allocations: 57.05 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.739e-05/0.003639, allocations: 18.52 kB / 270.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.025e-05/0.003649, allocations: 4.953 kB / 270.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-06/0.003654, allocations: 4 kB / 270.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.003671, allocations: 30.56 kB / 270.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.003672, allocations: 4 kB / 270.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 7.565e-05/0.003747, allocations: 37.62 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.003768, allocations: 51.41 kB / 270.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.003817, allocations: 98.72 kB / 270.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.003825, allocations: 25.7 kB / 270.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.801e-05/0.003843, allocations: 80.14 kB / 270.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.003862, allocations: 8 kB / 270.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.00388, allocations: 9.719 kB / 270.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.003952, allocations: 318.8 kB / 271.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-06/0.003957, allocations: 12.23 kB / 271.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-06/0.003961, allocations: 0 / 271.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.627e-05/0.003977, allocations: 8.859 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.003979, allocations: 0 / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.973e-05/0.004008, allocations: 33.64 kB / 271.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.004017, allocations: 4 kB / 271.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004021, allocations: 0 / 271.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.00403, allocations: 0 / 271.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.004082, allocations: 7.984 kB / 271.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.004085, allocations: 96 / 271.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-06/0.004092, allocations: 7.938 kB / 271.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.004099, allocations: 4 kB / 271.2 MB, free: 14.55 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 (1): * Single equations (assignments): 1 * 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 4.249e-05/0.004142, allocations: 109.8 kB / 271.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-06/0.004145, allocations: 0 / 271.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.004216, allocations: 44.83 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.004218, allocations: 0 / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.004219, allocations: 0 / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.00422, allocations: 11.97 kB / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.062e-05/0.004261, allocations: 65.84 kB / 271.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.004265, allocations: 0 / 271.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-06/0.004267, allocations: 7.938 kB / 271.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-06/0.004271, allocations: 3.984 kB / 271.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.004272, allocations: 0 / 271.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-06/0.004275, allocations: 0 / 271.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004275, allocations: 0 / 271.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.004276, allocations: 0 / 271.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.965e-05/0.004316, allocations: 61.08 kB / 271.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-06/0.004322, allocations: 4.031 kB / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.004362, allocations: 7.984 kB / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-06/0.004369, allocations: 0 / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.004372, allocations: 0 / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.725e-06/0.00438, allocations: 8.859 kB / 271.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00438, allocations: 0 / 271.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001283/0.004508, allocations: 39.94 kB / 271.6 MB, free: 14.14 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001687/0.004677, allocations: 132.2 kB / 271.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.556e-05/0.004722, allocations: 16.89 kB / 271.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.004727, allocations: 8 kB / 271.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.004754, allocations: 34.55 kB / 271.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.739e-05/0.004811, allocations: 7.938 kB / 271.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001344/0.004946, allocations: 99.75 kB / 271.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.142e-05/0.004967, allocations: 51.36 kB / 271.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.042e-05/0.004977, allocations: 0 / 271.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.005011, allocations: 55.38 kB / 272 MB, free: 13.68 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005011, allocations: 192 / 272 MB, free: 13.68 MB / 282.7 MB Notification: Performance of Templates: time 0.00232/0.007332, allocations: 1.318 MB / 273.3 MB, free: 12.36 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.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.569781484082341]