Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 177.4 kB / 17.06 MB, free: 5.094 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.318/1.318, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008393/0.0008396, allocations: 97.22 kB / 292.2 MB, free: 10.91 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.3101/0.3101, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3064, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.4138, allocations: 86.43 MB / 0.594 GB, free: 8.703 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4141, allocations: 71.97 kB / 0.594 GB, free: 8.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02564/0.4397, allocations: 8.318 MB / 0.6022 GB, free: 316 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4398, allocations: 0 / 0.6022 GB, free: 316 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.4398, allocations: 0 / 0.6022 GB, free: 316 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003078/0.4401, allocations: 343.3 kB / 0.6025 GB, free: 15.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4402, allocations: 12.03 kB / 0.6025 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.4402, allocations: 3.906 kB / 0.6025 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.032e-05/0.4403, allocations: 171.1 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4403, allocations: 0 / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.4403, allocations: 3.953 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4404, allocations: 37.64 kB / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.4404, allocations: 0 / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4405, allocations: 4 kB / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4405, allocations: 0 / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.4405, allocations: 7.984 kB / 0.6027 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.4408, allocations: 240.9 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.298e-05/0.4408, allocations: 18.58 kB / 0.603 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.4409, allocations: 4.031 kB / 0.603 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4409, allocations: 38.5 kB / 0.603 GB, free: 15.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.4409, allocations: 0 / 0.603 GB, free: 15.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.441, allocations: 33.77 kB / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.4411, allocations: 55.53 kB / 0.6031 GB, free: 15.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.4411, allocations: 92.94 kB / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.4412, allocations: 29.7 kB / 0.6032 GB, free: 15.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.4412, allocations: 88.03 kB / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-06/0.4412, allocations: 0 / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.4412, allocations: 0 / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.4413, allocations: 310.8 kB / 0.6036 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.4413, allocations: 4 kB / 0.6036 GB, free: 14.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.4413, allocations: 30.64 kB / 0.6036 GB, free: 14.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.704e-05/0.4414, allocations: 4 kB / 0.6036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4414, allocations: 7.938 kB / 0.6036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.772e-05/0.4415, allocations: 45.64 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4415, allocations: 5.719 kB / 0.6037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4415, allocations: 7.938 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4415, allocations: 4.094 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.4415, allocations: 7.984 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4416, allocations: 0 / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.4416, allocations: 7.906 kB / 0.6037 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.4416, allocations: 0 / 0.6037 GB, free: 14.5 MB / 426.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): 2 * 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.051e-05/0.4417, allocations: 106.4 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.4417, allocations: 7.953 kB / 0.6038 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.4418, allocations: 64.36 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4418, allocations: 0 / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4418, allocations: 0 / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4418, allocations: 0 / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.442, allocations: 141.7 kB / 0.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.442, allocations: 4 kB / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-06/0.442, allocations: 7.938 kB / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.442, allocations: 0 / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.442, allocations: 0 / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.442, allocations: 0 / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.442, allocations: 0 / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.156e-05/0.4421, allocations: 131.6 kB / 0.6041 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.4421, allocations: 81.05 kB / 0.6042 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4421, allocations: 15.94 kB / 0.6042 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.4422, allocations: 0 / 0.6042 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.4422, allocations: 0 / 0.6042 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.4422, allocations: 3.938 kB / 0.6042 GB, free: 13.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.006e-05/0.4423, allocations: 87.31 kB / 0.6043 GB, free: 13.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4423, allocations: 0 / 0.6043 GB, free: 13.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000299/0.4426, allocations: 47.94 kB / 0.6044 GB, free: 13.72 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.0002486/0.4428, allocations: 147.1 kB / 0.6045 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.232e-05/0.4429, allocations: 37.7 kB / 0.6045 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4429, allocations: 0 / 0.6045 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.443, allocations: 29.64 kB / 0.6046 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.4431, allocations: 9.703 kB / 0.6046 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.4433, allocations: 90.7 kB / 0.6047 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.4435, allocations: 0.677 MB / 0.6053 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.848e-05/0.4435, allocations: 0 / 0.6053 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.4435, allocations: 11.44 kB / 0.6053 GB, free: 12.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4435, allocations: 0 / 0.6053 GB, free: 12.65 MB / 426.7 MB Notification: Performance of Templates: time 0.00243/0.446, allocations: 0.8147 MB / 0.6061 GB, free: 11.84 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches