Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001266/0.001266, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002086/0.003353, 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.001289/0.001289, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002936, 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.8843/0.8843, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1368/1.021, allocations: 49.51 MB / 220.7 MB, free: 1.352 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.1394/0.1394, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01936/0.1588, allocations: 12.3 MB / 266.1 MB, free: 3.879 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.393e-05, allocations: 6.25 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001739/0.001773, allocations: 0.5595 MB / 267.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.003532, allocations: 1.393 MB / 269.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.003551, allocations: 0 / 269.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.639e-06/0.003556, allocations: 0 / 269.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.183e-06/0.003563, allocations: 3.938 kB / 269.3 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.004036, allocations: 163.5 kB / 269.5 MB, free: 444 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.709e-05/0.004093, allocations: 11.94 kB / 269.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.004139, allocations: 4 kB / 269.5 MB, free: 428 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.048e-05/0.004179, allocations: 4 kB / 269.5 MB, free: 424 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.004237, allocations: 3.984 kB / 269.5 MB, free: 420 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.004251, allocations: 4 kB / 269.5 MB, free: 416 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.004776, allocations: 308 kB / 269.8 MB, free: 108 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.004789, allocations: 0 / 269.8 MB, free: 108 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.004803, allocations: 4 kB / 269.8 MB, free: 104 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.005064, allocations: 135.8 kB / 270 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.005078, allocations: 0 / 270 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005079, allocations: 3.938 kB / 270 MB, free: 15.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.00509, 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003275/0.005418, allocations: 244.5 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.005453, allocations: 12.03 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.005489, allocations: 8.922 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.524e-05/0.005564, allocations: 109.8 kB / 270.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.005575, allocations: 384 / 270.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.005588, allocations: 4.359 kB / 270.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.005693, allocations: 59.95 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005701, allocations: 192 / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.005708, allocations: 384 / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.005716, allocations: 11.88 kB / 270.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.00573, allocations: 0 / 270.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.005991, allocations: 152.2 kB / 270.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.068e-05/0.006032, allocations: 18.58 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.006043, allocations: 4.859 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.006051, allocations: 4.062 kB / 270.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.006078, allocations: 34.56 kB / 270.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.006079, allocations: 0 / 270.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.00619, allocations: 41.61 kB / 270.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.006224, allocations: 51.41 kB / 270.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.006291, allocations: 106.7 kB / 270.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.006302, allocations: 25.7 kB / 270.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.006346, allocations: 88.34 kB / 270.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-06/0.006354, allocations: 11.92 kB / 270.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.006383, allocations: 13.72 kB / 270.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.006476, allocations: 310.8 kB / 271.2 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-06/0.006485, allocations: 0 / 271.2 MB, free: 14.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.006508, allocations: 22.58 kB / 271.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.006546, allocations: 34.48 kB / 271.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006549, allocations: 0 / 271.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.911e-05/0.006618, allocations: 45.62 kB / 271.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.006633, allocations: 8 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.00664, allocations: 3.938 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.006653, allocations: 0 / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.006707, allocations: 8 kB / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.00671, allocations: 0 / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.006727, allocations: 0 / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006735, allocations: 8 kB / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.159e-05/0.006797, allocations: 117.8 kB / 271.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.006818, allocations: 0 / 271.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.006927, allocations: 44.89 kB / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006929, allocations: 0 / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.006931, allocations: 0 / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.006935, allocations: 3.984 kB / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.007042, allocations: 69.91 kB / 271.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.007049, allocations: 0 / 271.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.00705, allocations: 3.938 kB / 271.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.00706, allocations: 8.031 kB / 271.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007062, allocations: 4.031 kB / 271.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.007066, allocations: 4 kB / 271.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.007069, allocations: 3.938 kB / 271.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.00707, allocations: 0 / 271.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.074e-05/0.007151, allocations: 131.5 kB / 271.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.00716, allocations: 0 / 271.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.007217, allocations: 0 / 271.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.00723, allocations: 7.938 kB / 271.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.007233, allocations: 0 / 271.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.412e-05/0.007248, allocations: 8.859 kB / 271.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007248, allocations: 4.125 kB / 271.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.007514, allocations: 39.92 kB / 271.8 MB, free: 13.88 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.0002613/0.007776, allocations: 136.3 kB / 271.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.895e-05/0.007845, allocations: 8.859 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.007851, allocations: 4 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.007888, allocations: 34.5 kB / 272 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.00804, allocations: 4 kB / 272 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.008259, allocations: 104.1 kB / 272.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.008296, allocations: 59.3 kB / 272.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.549e-05/0.008322, allocations: 3.984 kB / 272.2 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.008367, allocations: 51.38 kB / 272.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008367, allocations: 0 / 272.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of Templates: time 0.003744/0.01211, allocations: 1.284 MB / 273.5 MB, free: 12.13 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.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.5781254703179]