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.001038/0.001038, allocations: 198 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008556/0.0008556, allocations: 93.05 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1654/0.1654, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.453e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09623, allocations: 63.25 MB / 0.5114 GB, free: 6.773 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4349, allocations: 86.15 MB / 0.5955 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.4352, allocations: 70.97 kB / 0.5956 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002361/0.4375, allocations: 0.8953 MB / 0.5964 GB, free: 6.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4375, allocations: 0 / 0.5964 GB, free: 6.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.4376, allocations: 0 / 0.5964 GB, free: 6.871 MB / 394.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.0002114/0.4378, allocations: 332 kB / 0.5967 GB, free: 6.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4378, allocations: 12.03 kB / 0.5968 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.4378, allocations: 0 / 0.5968 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.438, allocations: 171 kB / 0.5969 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.438, allocations: 7.625 kB / 0.5969 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.438, allocations: 4 kB / 0.5969 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.4381, allocations: 56.94 kB / 0.597 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.4381, allocations: 0 / 0.597 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4381, allocations: 11.23 kB / 0.597 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4381, allocations: 0 / 0.597 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.4382, allocations: 46.52 kB / 0.597 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.4384, allocations: 178.9 kB / 0.5972 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.4385, allocations: 78.61 kB / 0.5973 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.4386, allocations: 26.98 kB / 0.5973 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.4388, allocations: 255.3 kB / 0.5976 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.4389, allocations: 34.12 kB / 0.5976 GB, free: 5.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.4389, allocations: 3.938 kB / 0.5976 GB, free: 5.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001586/0.439, allocations: 75.25 kB / 0.5977 GB, free: 5.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.4391, allocations: 59.09 kB / 0.5977 GB, free: 5.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.4391, allocations: 92.98 kB / 0.5978 GB, free: 5.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.4392, allocations: 25.7 kB / 0.5978 GB, free: 5.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.4392, allocations: 80.14 kB / 0.5979 GB, free: 5.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.4392, allocations: 30.91 kB / 0.5979 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.4392, allocations: 2.688 kB / 0.5979 GB, free: 5.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4393, allocations: 322 kB / 0.5982 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.4394, allocations: 11.75 kB / 0.5983 GB, free: 4.828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.4394, allocations: 15.44 kB / 0.5983 GB, free: 4.816 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.4395, allocations: 30.81 kB / 0.5983 GB, free: 4.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4395, allocations: 4.125 kB / 0.5983 GB, free: 4.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001009/0.4396, allocations: 72.62 kB / 0.5984 GB, free: 4.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4396, allocations: 8 kB / 0.5984 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.4396, allocations: 0 / 0.5984 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4396, allocations: 0 / 0.5984 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.4397, allocations: 16.31 kB / 0.5984 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4397, allocations: 0.875 kB / 0.5984 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.4397, allocations: 11.89 kB / 0.5984 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4398, allocations: 3.781 kB / 0.5984 GB, free: 4.688 MB / 394.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 () * 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 6.453e-05/0.4398, allocations: 116.9 kB / 0.5985 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.4398, allocations: 3.938 kB / 0.5985 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.44, allocations: 98.83 kB / 0.5986 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.44, allocations: 0 / 0.5986 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.44, allocations: 0 / 0.5986 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.44, allocations: 0 / 0.5986 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.4401, allocations: 184.3 kB / 0.5988 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4402, allocations: 3.953 kB / 0.5988 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.4402, allocations: 15.94 kB / 0.5988 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4402, allocations: 0 / 0.5988 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.4402, allocations: 8 kB / 0.5988 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4403, allocations: 0 / 0.5988 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4403, allocations: 0 / 0.5988 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.4404, allocations: 107.3 kB / 0.5989 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.4404, allocations: 84.97 kB / 0.599 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.4405, allocations: 3.75 kB / 0.599 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.4405, allocations: 4 kB / 0.599 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.4405, allocations: 7.984 kB / 0.599 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.4405, allocations: 8 kB / 0.599 GB, free: 3.996 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.4405, allocations: 78.78 kB / 0.5991 GB, free: 3.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4406, allocations: 0 / 0.5991 GB, free: 3.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.4407, allocations: 15.94 kB / 0.5991 GB, free: 3.906 MB / 394.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 () * 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.0001237/0.4409, allocations: 112 kB / 0.5992 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.441, allocations: 50 kB / 0.5993 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.441, allocations: 192 / 0.5993 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/0.441, allocations: 38.72 kB / 0.5993 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.346e-05/0.4411, allocations: 5.859 kB / 0.5993 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.4413, allocations: 96.16 kB / 0.5994 GB, free: 3.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.4416, allocations: 0.6848 MB / 0.6001 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.4416, allocations: 7.984 kB / 0.6001 GB, free: 2.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.4416, allocations: 11.94 kB / 0.6001 GB, free: 2.883 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4416, allocations: 4 kB / 0.6001 GB, free: 2.879 MB / 394.7 MB Notification: Performance of Templates: time 0.002156/0.4438, allocations: 0.6007 MB / 0.6007 GB, free: 2.289 MB / 394.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