Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 99.22 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.339/0.339, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002651, allocations: 12 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3932, allocations: 63.24 MB / 0.5192 GB, free: 43.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.5102, allocations: 86.22 MB / 0.6034 GB, free: 3.434 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.5105, allocations: 60.47 kB / 0.6034 GB, free: 3.375 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002757/0.5133, allocations: 0.9157 MB / 0.6043 GB, free: 2.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5133, allocations: 7.938 kB / 0.6043 GB, free: 2.461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.5133, allocations: 0 / 0.6043 GB, free: 2.461 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002979/0.5136, allocations: 339.3 kB / 0.6047 GB, free: 2.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5137, allocations: 9.125 kB / 0.6047 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.5137, allocations: 7.938 kB / 0.6047 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5138, allocations: 167 kB / 0.6048 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.5139, allocations: 5.047 kB / 0.6048 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.5139, allocations: 8 kB / 0.6048 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.514, allocations: 58.62 kB / 0.6049 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.514, allocations: 0 / 0.6049 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.514, allocations: 0.7812 kB / 0.6049 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5141, allocations: 0 / 0.6049 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.5142, allocations: 55.94 kB / 0.605 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.5144, allocations: 174.2 kB / 0.6051 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.5145, allocations: 71.61 kB / 0.6052 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.5148, allocations: 252.4 kB / 0.6054 GB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.5148, allocations: 35.81 kB / 0.6055 GB, free: 1.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.5148, allocations: 0 / 0.6055 GB, free: 1.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002328/0.5151, allocations: 98.36 kB / 0.6056 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.5151, allocations: 52.25 kB / 0.6056 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.5152, allocations: 89.81 kB / 0.6057 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.5152, allocations: 29.7 kB / 0.6057 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.5153, allocations: 81.61 kB / 0.6058 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.5153, allocations: 39.44 kB / 0.6058 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.5153, allocations: 0 / 0.6058 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5154, allocations: 321.6 kB / 0.6061 GB, free: 368 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.5155, allocations: 15.98 kB / 0.6062 GB, free: 352 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.5155, allocations: 16.31 kB / 0.6062 GB, free: 336 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.5156, allocations: 28.11 kB / 0.6062 GB, free: 308 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5156, allocations: 7.891 kB / 0.6062 GB, free: 300 kB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001137/0.5157, allocations: 73.69 kB / 0.6063 GB, free: 220 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5157, allocations: 9.438 kB / 0.6063 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5157, allocations: 0 / 0.6063 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5157, allocations: 4 kB / 0.6063 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.5158, allocations: 23.94 kB / 0.6063 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5159, allocations: 3.984 kB / 0.6063 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.5159, allocations: 7.891 kB / 0.6063 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.5159, allocations: 4 kB / 0.6063 GB, free: 172 kB / 410.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.967e-05/0.516, allocations: 114 kB / 0.6064 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.516, allocations: 7.953 kB / 0.6064 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.5162, allocations: 97.52 kB / 0.6065 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5162, allocations: 0 / 0.6065 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5162, allocations: 0 / 0.6065 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5162, allocations: 4 kB / 0.6065 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.5164, allocations: 169.6 kB / 0.6067 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5164, allocations: 0 / 0.6067 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.5165, allocations: 19.95 kB / 0.6067 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5165, allocations: 4 kB / 0.6067 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5165, allocations: 7.984 kB / 0.6067 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5165, allocations: 0 / 0.6067 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5165, allocations: 3.938 kB / 0.6067 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.5167, allocations: 105.2 kB / 0.6068 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.5167, allocations: 77.11 kB / 0.6069 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.5167, allocations: 15.94 kB / 0.6069 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.5168, allocations: 3.984 kB / 0.6069 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.5168, allocations: 7.938 kB / 0.6069 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.5168, allocations: 4 kB / 0.6069 GB, free: 15.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.15e-05/0.5168, allocations: 75.28 kB / 0.607 GB, free: 15.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5168, allocations: 0 / 0.607 GB, free: 15.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.517, allocations: 19.94 kB / 0.607 GB, free: 15.35 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001524/0.5172, allocations: 115.2 kB / 0.6071 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.5173, allocations: 51.92 kB / 0.6072 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5173, allocations: 8.094 kB / 0.6072 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.5174, allocations: 31.92 kB / 0.6072 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.5175, allocations: 4 kB / 0.6072 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.5178, allocations: 145.6 kB / 0.6074 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.518, allocations: 0.6809 MB / 0.608 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.5181, allocations: 15.98 kB / 0.6081 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.5181, allocations: 11.44 kB / 0.6081 GB, free: 14.23 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5181, allocations: 4 kB / 0.6081 GB, free: 14.23 MB / 426.7 MB Notification: Performance of Templates: time 0.002511/0.5206, allocations: 0.5894 MB / 0.6086 GB, free: 13.64 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches