Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001877/0.001877, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002089/0.002089, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 18.57 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.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3359/0.3359, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.699e-05, allocations: 2.312 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001547/0.001574, allocations: 0.4961 MB / 377.8 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.003711, allocations: 1.377 MB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.003736, allocations: 4 kB / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.003748, allocations: 0 / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.003783, allocations: 0 / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.004497, allocations: 219.9 kB / 379.4 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.298e-05/0.00454, allocations: 11.92 kB / 379.4 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.283e-05/0.004573, allocations: 0 / 379.4 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.004606, allocations: 8 kB / 379.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.004652, allocations: 4 kB / 379.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.004666, allocations: 0 / 379.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.005137, allocations: 255.6 kB / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.005151, allocations: 8 kB / 379.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.005171, allocations: 7.938 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.00549, allocations: 191.5 kB / 379.8 MB, free: 424 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.005494, allocations: 4 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005495, allocations: 0 / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.005498, allocations: 0 / 379.8 MB, free: 420 kB / 346.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.0004118/0.00591, allocations: 360.2 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.005944, allocations: 12.03 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.005979, allocations: 0.9375 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.006111, allocations: 112.6 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.006124, allocations: 4.375 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.006134, allocations: 8.312 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.006256, allocations: 55.97 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.006264, allocations: 192 / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006276, allocations: 4.359 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006283, allocations: 3.938 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.006303, allocations: 4 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.006439, allocations: 104.6 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/0.006501, allocations: 31.09 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.006523, allocations: 11.62 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.006534, allocations: 8.062 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.006569, allocations: 33.39 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.00657, allocations: 0 / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.006709, allocations: 37.69 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.00676, allocations: 55.34 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006884, allocations: 157.9 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.006904, allocations: 25.7 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.006972, allocations: 126.9 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.00699, allocations: 0 / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.007026, allocations: 19.62 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.007285, allocations: 0.4923 MB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.007298, allocations: 3.938 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-06/0.007307, allocations: 7.938 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.007338, allocations: 11.69 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.00734, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.831e-05/0.007398, allocations: 29.7 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.007414, allocations: 8 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.007417, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.00743, allocations: 3.984 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/0.007478, allocations: 4.094 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.007487, allocations: 7.938 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.007498, allocations: 0 / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.007504, allocations: 3.938 kB / 381.6 MB, free: 14.48 MB / 362.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 0.0001072/0.007611, allocations: 156.6 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.007625, allocations: 7.953 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.007738, allocations: 40.84 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.00774, allocations: 4.031 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.007745, allocations: 3.938 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.007747, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.007855, allocations: 116.6 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.00786, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.007861, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.007866, allocations: 3.984 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.007871, allocations: 0 / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007872, allocations: 4 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.007873, allocations: 0 / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.007979, allocations: 80.31 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-06/0.007983, allocations: 0 / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.008006, allocations: 0 / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.008071, allocations: 7.984 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.008092, allocations: 4 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.008101, allocations: 7.938 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.682e-05/0.008167, allocations: 119.2 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008167, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.008406, allocations: 39.94 kB / 382.1 MB, free: 13.82 MB / 362.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.0006157/0.009022, allocations: 151.3 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.837e-05/0.0091, allocations: 11.69 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.009102, allocations: 3.938 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.12e-05/0.009153, allocations: 45.31 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.009281, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.009513, allocations: 98.42 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.009573, allocations: 63.28 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.372e-05/0.009586, allocations: 0 / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.009604, allocations: 12.62 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.009605, allocations: 4 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003913/0.01352, allocations: 1.121 MB / 383.6 MB, free: 12.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.830850058002397]