Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008994/0.0008992, allocations: 182.3 kB / 18.09 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 223.3 MB / 242.1 MB, free: 11.64 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007643/0.0007643, allocations: 94.58 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2977/0.2977, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3057, allocations: 61.88 MB / 0.5107 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09261/0.3983, allocations: 86.45 MB / 0.5951 GB, free: 8.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.3985, allocations: 71.95 kB / 0.5952 GB, free: 8.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02457/0.4231, allocations: 8.307 MB / 0.6033 GB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4231, allocations: 0 / 0.6033 GB, free: 228 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4232, allocations: 0 / 0.6033 GB, free: 228 kB / 410.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.0003609/0.4235, allocations: 351.4 kB / 0.6037 GB, free: 15.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4236, allocations: 8.031 kB / 0.6037 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.4236, allocations: 8.938 kB / 0.6037 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.4237, allocations: 164.4 kB / 0.6038 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4237, allocations: 4.312 kB / 0.6038 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.4238, allocations: 384 / 0.6038 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.4239, allocations: 30.27 kB / 0.6039 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4239, allocations: 192 / 0.6039 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4239, allocations: 7.938 kB / 0.6039 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4239, allocations: 0 / 0.6039 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.4239, allocations: 4 kB / 0.6039 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.4241, allocations: 149.7 kB / 0.604 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.4241, allocations: 22.55 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.4241, allocations: 8.844 kB / 0.604 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.4242, allocations: 4.062 kB / 0.6041 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.4242, allocations: 34.56 kB / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4242, allocations: 0 / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.4243, allocations: 45.62 kB / 0.6041 GB, free: 15.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.4244, allocations: 51.41 kB / 0.6042 GB, free: 15.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/0.4245, allocations: 89.86 kB / 0.6043 GB, free: 15.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.4245, allocations: 33.64 kB / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.4245, allocations: 80.14 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.4246, allocations: 256 / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-06/0.4246, allocations: 7.938 kB / 0.6044 GB, free: 14.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4247, allocations: 318.8 kB / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.4247, allocations: 4 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.4247, allocations: 0 / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.4247, allocations: 8.859 kB / 0.6047 GB, free: 14.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4247, allocations: 0 / 0.6047 GB, free: 14.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.647e-05/0.4248, allocations: 37.61 kB / 0.6047 GB, free: 14.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4248, allocations: 7.938 kB / 0.6047 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4248, allocations: 4.094 kB / 0.6047 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.4249, allocations: 0 / 0.6047 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.4249, allocations: 0 / 0.6047 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4249, allocations: 4 kB / 0.6047 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.4249, allocations: 7.875 kB / 0.6048 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.4249, allocations: 3.984 kB / 0.6048 GB, free: 14.53 MB / 426.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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/0.425, allocations: 109.8 kB / 0.6049 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.425, allocations: 7.938 kB / 0.6049 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.4251, allocations: 40.42 kB / 0.6049 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4251, allocations: 7.984 kB / 0.6049 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4251, allocations: 0 / 0.6049 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.4251, allocations: 0 / 0.6049 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.781e-05/0.4252, allocations: 145.7 kB / 0.6051 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4252, allocations: 4 kB / 0.6051 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.4253, allocations: 0 / 0.6051 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4253, allocations: 7.922 kB / 0.6051 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.4253, allocations: 0 / 0.6051 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4253, allocations: 8.031 kB / 0.6051 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4253, allocations: 0 / 0.6051 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.823e-05/0.4254, allocations: 61.08 kB / 0.6051 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.4254, allocations: 77.11 kB / 0.6052 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4254, allocations: 11.92 kB / 0.6052 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.4255, allocations: 0 / 0.6052 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.4255, allocations: 0 / 0.6052 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.4255, allocations: 8.031 kB / 0.6052 GB, free: 13.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.849e-05/0.4255, allocations: 79.22 kB / 0.6053 GB, free: 13.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4255, allocations: 0 / 0.6053 GB, free: 13.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.4258, allocations: 47.94 kB / 0.6053 GB, free: 13.83 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002487/0.4261, allocations: 151.7 kB / 0.6055 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.4262, allocations: 29.7 kB / 0.6055 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4262, allocations: 0 / 0.6055 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.4262, allocations: 37.8 kB / 0.6056 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.4263, allocations: 7.984 kB / 0.6056 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.4266, allocations: 82.77 kB / 0.6056 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.4268, allocations: 0.6692 MB / 0.6063 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.305e-05/0.4268, allocations: 3.984 kB / 0.6063 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-06/0.4268, allocations: 11.44 kB / 0.6063 GB, free: 12.77 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4268, allocations: 0 / 0.6063 GB, free: 12.77 MB / 426.7 MB Notification: Performance of Templates: time 0.002965/0.4298, allocations: 0.9831 MB / 0.6073 GB, free: 11.79 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches