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.001715/0.001715, allocations: 196.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009036/0.0009038, allocations: 96.5 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3762/0.3762, allocations: 44.83 MB / 394.3 MB, free: 35.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002943, allocations: 8 kB / 467.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4067, allocations: 62.96 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.5316, allocations: 86.08 MB / 0.6025 GB, free: 3.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5319, allocations: 71.94 kB / 0.6025 GB, free: 3.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002704/0.5346, allocations: 0.8996 MB / 0.6034 GB, free: 2.289 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5346, allocations: 3.938 kB / 0.6034 GB, free: 2.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.5346, allocations: 12 kB / 0.6034 GB, free: 2.273 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.0003473/0.535, allocations: 335.5 kB / 0.6038 GB, free: 1.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.535, allocations: 8.875 kB / 0.6038 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.5351, allocations: 4.938 kB / 0.6038 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.5352, allocations: 168.3 kB / 0.6039 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5353, allocations: 4.375 kB / 0.6039 GB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.5353, allocations: 4.375 kB / 0.6039 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.5355, allocations: 58.23 kB / 0.604 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5355, allocations: 4.188 kB / 0.604 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5355, allocations: 7.938 kB / 0.604 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5355, allocations: 0 / 0.604 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.5357, allocations: 51.89 kB / 0.604 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.5359, allocations: 173.6 kB / 0.6042 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.5361, allocations: 70.55 kB / 0.6043 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.5362, allocations: 28.84 kB / 0.6043 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.5365, allocations: 255.3 kB / 0.6046 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.5365, allocations: 38.78 kB / 0.6046 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.5366, allocations: 0 / 0.6046 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002559/0.5368, allocations: 101.5 kB / 0.6047 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5369, allocations: 55.41 kB / 0.6047 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.5369, allocations: 93.84 kB / 0.6048 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.537, allocations: 25.83 kB / 0.6049 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.537, allocations: 84.14 kB / 0.6049 GB, free: 488 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.537, allocations: 31.84 kB / 0.605 GB, free: 456 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.5371, allocations: 8.219 kB / 0.605 GB, free: 448 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5372, allocations: 314.8 kB / 0.6053 GB, free: 124 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.5372, allocations: 15.94 kB / 0.6053 GB, free: 108 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.5372, allocations: 23.92 kB / 0.6053 GB, free: 84 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.635e-05/0.5373, allocations: 48.8 kB / 0.6054 GB, free: 32 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5373, allocations: 0 / 0.6054 GB, free: 32 kB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.5375, allocations: 81.73 kB / 0.6054 GB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5375, allocations: 7.938 kB / 0.6054 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.5375, allocations: 3.938 kB / 0.6054 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5376, allocations: 3.984 kB / 0.6055 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.5377, allocations: 15.94 kB / 0.6055 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5377, allocations: 4 kB / 0.6055 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.5377, allocations: 4 kB / 0.6055 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.5377, allocations: 4 kB / 0.6055 GB, free: 15.9 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 (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 8.26e-05/0.5378, allocations: 113.8 kB / 0.6056 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.5378, allocations: 11.91 kB / 0.6056 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.538, allocations: 105.5 kB / 0.6057 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.538, allocations: 0 / 0.6057 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.538, allocations: 384 / 0.6057 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.538, allocations: 0 / 0.6057 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.5382, allocations: 173.6 kB / 0.6059 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5382, allocations: 0 / 0.6059 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.5383, allocations: 15.94 kB / 0.6059 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5383, allocations: 3.938 kB / 0.6059 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.5383, allocations: 7.938 kB / 0.6059 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5383, allocations: 4 kB / 0.6059 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5383, allocations: 0 / 0.6059 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.5384, allocations: 113 kB / 0.606 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.5385, allocations: 81.11 kB / 0.6061 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.5385, allocations: 3.938 kB / 0.6061 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.23e-05/0.5385, allocations: 0 / 0.6061 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.5386, allocations: 11.98 kB / 0.6061 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.5386, allocations: 8 kB / 0.6061 GB, free: 15.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.191e-05/0.5386, allocations: 75.28 kB / 0.6062 GB, free: 15.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5386, allocations: 0 / 0.6062 GB, free: 15.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.5388, allocations: 19.94 kB / 0.6062 GB, free: 15.06 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.0001677/0.539, allocations: 111.2 kB / 0.6063 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.5392, allocations: 51.92 kB / 0.6063 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5392, allocations: 0 / 0.6063 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.5392, allocations: 31.92 kB / 0.6064 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.5394, allocations: 8.094 kB / 0.6064 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.5397, allocations: 142.6 kB / 0.6065 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.54, allocations: 0.6809 MB / 0.6072 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.5401, allocations: 8.469 kB / 0.6072 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.5401, allocations: 15.44 kB / 0.6072 GB, free: 13.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5401, allocations: 0 / 0.6072 GB, free: 13.96 MB / 426.7 MB Notification: Performance of Templates: time 0.00329/0.5434, allocations: 0.6024 MB / 0.6078 GB, free: 13.36 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/jenkins1/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