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.001045/0.001045, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.271/1.271, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008749/0.000875, allocations: 94.45 kB / 292.2 MB, free: 10.93 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.3001/0.3001, allocations: 44.21 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003028, allocations: 8 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3163, allocations: 61.89 MB / 0.5095 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.4221, allocations: 86.43 MB / 0.594 GB, free: 8.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4224, allocations: 71.95 kB / 0.594 GB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02579/0.4482, allocations: 8.315 MB / 0.6021 GB, free: 360 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4482, allocations: 0 / 0.6021 GB, free: 360 kB / 410.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4483, allocations: 0 / 0.6021 GB, free: 360 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.0004261/0.4487, allocations: 355.1 kB / 0.6025 GB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4487, allocations: 16.03 kB / 0.6025 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.4488, allocations: 0 / 0.6025 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.4489, allocations: 163.1 kB / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4489, allocations: 0 / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.449, allocations: 3.953 kB / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.4491, allocations: 33.64 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.4491, allocations: 0 / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4491, allocations: 0 / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4491, allocations: 0 / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.4491, allocations: 4 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.4493, allocations: 153.7 kB / 0.6028 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.4494, allocations: 18.61 kB / 0.6029 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.4494, allocations: 0 / 0.6029 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.4494, allocations: 38.58 kB / 0.6029 GB, free: 15.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4495, allocations: 0 / 0.6029 GB, free: 15.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.4496, allocations: 41.62 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4497, allocations: 59.53 kB / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.4497, allocations: 85 kB / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.4498, allocations: 29.64 kB / 0.6031 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.4498, allocations: 80.14 kB / 0.6032 GB, free: 15.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.4498, allocations: 4 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-06/0.4498, allocations: 0 / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.45, allocations: 310.8 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.45, allocations: 4 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.45, allocations: 12.11 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.475e-05/0.45, allocations: 0 / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.45, allocations: 0 / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.814e-05/0.4501, allocations: 41.55 kB / 0.6035 GB, free: 14.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4501, allocations: 4 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4501, allocations: 3.953 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4502, allocations: 4 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.4502, allocations: 0 / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4502, allocations: 0 / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.4502, allocations: 4.094 kB / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4502, allocations: 0 / 0.6035 GB, free: 14.7 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 9.378e-05/0.4503, allocations: 114.4 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-06/0.4503, allocations: 0 / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.4504, allocations: 48.36 kB / 0.6037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4505, allocations: 3.953 kB / 0.6037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4505, allocations: 0 / 0.6037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4505, allocations: 12 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.4506, allocations: 149.6 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.4506, allocations: 0 / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4506, allocations: 0 / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4506, allocations: 0 / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.4506, allocations: 4 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4506, allocations: 7.984 kB / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.4506, allocations: 11.94 kB / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.184e-05/0.4507, allocations: 57.14 kB / 0.6039 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.4508, allocations: 77.11 kB / 0.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.4508, allocations: 0 / 0.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.4508, allocations: 3.984 kB / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.4509, allocations: 7.953 kB / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.4509, allocations: 0 / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.4509, allocations: 87.16 kB / 0.6041 GB, free: 14.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4509, allocations: 0 / 0.6041 GB, free: 14.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.4512, allocations: 48.06 kB / 0.6042 GB, free: 13.98 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.0002811/0.4515, allocations: 151.1 kB / 0.6043 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.4516, allocations: 37.7 kB / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4516, allocations: 0 / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.4516, allocations: 25.7 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.4517, allocations: 11.66 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.4519, allocations: 82.88 kB / 0.6044 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.4522, allocations: 0.6809 MB / 0.6051 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.135e-05/0.4522, allocations: 0 / 0.6051 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-06/0.4522, allocations: 7.438 kB / 0.6051 GB, free: 12.92 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4522, allocations: 0 / 0.6051 GB, free: 12.92 MB / 426.7 MB Notification: Performance of Templates: time 0.002727/0.4549, allocations: 0.8328 MB / 0.6059 GB, free: 12.09 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/jenkins/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