Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000854/0.0008542, allocations: 98.61 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.294/0.294, allocations: 45.24 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 4 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3437, allocations: 63.24 MB / 0.5192 GB, free: 43.92 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.4488, allocations: 89.39 MB / 0.6065 GB, free: 272 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.4491, allocations: 75.97 kB / 0.6066 GB, free: 196 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.4637, allocations: 5.57 MB / 0.612 GB, free: 10.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4638, allocations: 0 / 0.612 GB, free: 10.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4638, allocations: 4 kB / 0.612 GB, free: 10.64 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003636/0.4641, allocations: 419.7 kB / 0.6124 GB, free: 10.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4642, allocations: 8.031 kB / 0.6124 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.4642, allocations: 15.86 kB / 0.6124 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.4643, allocations: 174.9 kB / 0.6126 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4644, allocations: 4 kB / 0.6126 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4644, allocations: 0 / 0.6126 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.4645, allocations: 65.69 kB / 0.6127 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4645, allocations: 0 / 0.6127 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.4645, allocations: 0 / 0.6127 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4646, allocations: 0 / 0.6127 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.4646, allocations: 59.89 kB / 0.6127 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.4648, allocations: 205.4 kB / 0.6129 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.4649, allocations: 62.5 kB / 0.613 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.465, allocations: 19.98 kB / 0.613 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.465, allocations: 30.56 kB / 0.613 GB, free: 9.441 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.465, allocations: 0 / 0.613 GB, free: 9.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.01858/0.4836, allocations: 1.616 MB / 0.6146 GB, free: 7.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4836, allocations: 55.34 kB / 0.6146 GB, free: 7.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.4837, allocations: 118.9 kB / 0.6148 GB, free: 7.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.4838, allocations: 25.7 kB / 0.6148 GB, free: 7.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.4838, allocations: 92.38 kB / 0.6149 GB, free: 7.477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.4839, allocations: 43.3 kB / 0.6149 GB, free: 7.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.4839, allocations: 4 kB / 0.6149 GB, free: 7.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.484, allocations: 318.8 kB / 0.6152 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.4845, allocations: 135.9 kB / 0.6153 GB, free: 6.977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.4851, allocations: 139.8 kB / 0.6155 GB, free: 6.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.4856, allocations: 130.2 kB / 0.6156 GB, free: 6.715 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4856, allocations: 0 / 0.6156 GB, free: 6.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001143/0.4868, allocations: 317.4 kB / 0.6159 GB, free: 6.398 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4868, allocations: 6.031 kB / 0.6159 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4868, allocations: 0 / 0.6159 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4868, allocations: 4 kB / 0.6159 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.4873, allocations: 67.92 kB / 0.616 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4874, allocations: 0 / 0.616 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.4878, allocations: 39.97 kB / 0.616 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.4878, allocations: 19.88 kB / 0.616 GB, free: 6.266 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 (12): * Single equations (assignments): 12 * 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 9.75e-05/0.4879, allocations: 117.8 kB / 0.6162 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.4879, allocations: 7.906 kB / 0.6162 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.4893, allocations: 366.1 kB / 0.6165 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4893, allocations: 4 kB / 0.6165 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4893, allocations: 0 / 0.6165 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4893, allocations: 3.984 kB / 0.6165 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.4921, allocations: 0.841 MB / 0.6173 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4921, allocations: 4.125 kB / 0.6173 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.4925, allocations: 67.88 kB / 0.6174 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4926, allocations: 4 kB / 0.6174 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.4926, allocations: 11.98 kB / 0.6174 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4926, allocations: 3.953 kB / 0.6174 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4926, allocations: 0 / 0.6174 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4938, allocations: 472.7 kB / 0.6179 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.4939, allocations: 109 kB / 0.618 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.4939, allocations: 0 / 0.618 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.4943, allocations: 47.95 kB / 0.618 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.4944, allocations: 7.984 kB / 0.618 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.4944, allocations: 8 kB / 0.618 GB, free: 4.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.289e-05/0.4945, allocations: 97.52 kB / 0.6181 GB, free: 3.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4945, allocations: 0 / 0.6181 GB, free: 3.988 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000541/0.495, allocations: 179.8 kB / 0.6183 GB, free: 3.812 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.0005953/0.4956, allocations: 259.8 kB / 0.6186 GB, free: 3.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.4967, allocations: 295.7 kB / 0.6188 GB, free: 3.262 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4967, allocations: 0 / 0.6188 GB, free: 3.262 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.4973, allocations: 152 kB / 0.619 GB, free: 3.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4975, allocations: 25.81 kB / 0.619 GB, free: 3.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.4998, allocations: 0.5368 MB / 0.6195 GB, free: 2.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.5001, allocations: 0.7043 MB / 0.6202 GB, free: 1.789 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002301/0.5003, allocations: 46.39 kB / 0.6203 GB, free: 1.746 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5005, allocations: 23.41 kB / 0.6203 GB, free: 1.723 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5005, allocations: 4 kB / 0.6203 GB, free: 1.719 MB / 426.7 MB Notification: Performance of Templates: time 0.008007/0.5085, allocations: 5.647 MB / 0.6258 GB, free: 12.1 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches