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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 165.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 34.25 MB / 295.4 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 83.86 kB / 443.2 MB, free: 6.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3634, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002147/0.3656, allocations: 1.45 MB / 0.4987 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3672, allocations: 1.293 MB / 0.4999 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.3672, allocations: 3.188 kB / 0.5 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3674, allocations: 31.77 kB / 0.5 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.3676, allocations: 46.31 kB / 0.5 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.368, allocations: 226.5 kB / 0.5002 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.979e-05/0.3681, allocations: 56.05 kB / 0.5003 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.3681, allocations: 3.188 kB / 0.5003 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.3682, allocations: 28.45 kB / 0.5003 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.3682, allocations: 25.17 kB / 0.5003 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.3683, allocations: 0 / 0.5003 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.3687, allocations: 271 kB / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.3687, allocations: 7.281 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.3687, allocations: 24.42 kB / 0.5006 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.3691, allocations: 267 kB / 0.5009 GB, free: 27.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3691, allocations: 4 kB / 0.5009 GB, free: 27.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3691, allocations: 0 / 0.5009 GB, free: 27.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3691, allocations: 3.938 kB / 0.5009 GB, free: 27.58 MB / 446.1 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.0004919/0.3696, allocations: 342.5 kB / 0.5012 GB, free: 27.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3697, allocations: 9.5 kB / 0.5012 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.3697, allocations: 11.98 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.897e-05/0.3698, allocations: 113 kB / 0.5014 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3698, allocations: 384 / 0.5014 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.3699, allocations: 3.625 kB / 0.5014 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.37, allocations: 75.83 kB / 0.5014 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.37, allocations: 0 / 0.5014 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.37, allocations: 11.12 kB / 0.5014 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.37, allocations: 3.938 kB / 0.5014 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.3701, allocations: 57.86 kB / 0.5015 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.3703, allocations: 132.8 kB / 0.5016 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.318e-05/0.3703, allocations: 59.55 kB / 0.5017 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.3704, allocations: 39.33 kB / 0.5017 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.3705, allocations: 20.55 kB / 0.5017 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3705, allocations: 37.69 kB / 0.5018 GB, free: 26.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.3705, allocations: 0 / 0.5018 GB, free: 26.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.02031/0.3908, allocations: 1.63 MB / 0.5034 GB, free: 26.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3908, allocations: 55.34 kB / 0.5034 GB, free: 26.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.3909, allocations: 142.2 kB / 0.5036 GB, free: 26.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3909, allocations: 33.7 kB / 0.5036 GB, free: 26.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.391, allocations: 88.12 kB / 0.5037 GB, free: 26.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.391, allocations: 45.02 kB / 0.5037 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.3911, allocations: 46.09 kB / 0.5038 GB, free: 26.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.3911, allocations: 318.3 kB / 0.5041 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.3917, allocations: 205.1 kB / 0.5043 GB, free: 25.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.3923, allocations: 212 kB / 0.5045 GB, free: 25.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.3935, allocations: 395 kB / 0.5048 GB, free: 25.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3935, allocations: 0 / 0.5048 GB, free: 25.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001294/0.3948, allocations: 464.6 kB / 0.5053 GB, free: 25.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3948, allocations: 6.375 kB / 0.5053 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3948, allocations: 0 / 0.5053 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3948, allocations: 0 / 0.5053 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.3954, allocations: 68.36 kB / 0.5054 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3954, allocations: 0 / 0.5054 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.3958, allocations: 39.53 kB / 0.5054 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.3958, allocations: 13.55 kB / 0.5054 GB, free: 25.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.3959, allocations: 120.8 kB / 0.5055 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.3959, allocations: 6.797 kB / 0.5055 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.3972, allocations: 371.2 kB / 0.5059 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3972, allocations: 0 / 0.5059 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3972, allocations: 0 / 0.5059 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3973, allocations: 0 / 0.5059 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.4, allocations: 0.703 MB / 0.5066 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4, allocations: 96 / 0.5066 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.4005, allocations: 73.3 kB / 0.5066 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4005, allocations: 3.188 kB / 0.5066 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.4005, allocations: 3 kB / 0.5066 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4005, allocations: 6.641 kB / 0.5066 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4005, allocations: 4 kB / 0.5067 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.4018, allocations: 428.9 kB / 0.5071 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.4019, allocations: 32.61 kB / 0.5071 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.402, allocations: 3 kB / 0.5071 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.4024, allocations: 35.11 kB / 0.5071 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.4025, allocations: 17.33 kB / 0.5071 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.4025, allocations: 13.83 kB / 0.5072 GB, free: 24.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.443e-05/0.4026, allocations: 97.75 kB / 0.5072 GB, free: 24.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4026, allocations: 0 / 0.5072 GB, free: 24.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000942/0.4035, allocations: 174 kB / 0.5074 GB, free: 24.24 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006493/0.4042, allocations: 246.3 kB / 0.5077 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.4054, allocations: 364 kB / 0.508 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4054, allocations: 0 / 0.508 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.406, allocations: 143.5 kB / 0.5081 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.4064, allocations: 20 kB / 0.5082 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.4088, allocations: 0.5193 MB / 0.5087 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.031e-05/0.4089, allocations: 76.98 kB / 0.5087 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.4091, allocations: 46.39 kB / 0.5088 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4092, allocations: 27.41 kB / 0.5088 GB, free: 23.6 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4092, allocations: 0 / 0.5088 GB, free: 23.6 MB / 446.1 MB Notification: Performance of Templates: time 0.01886/0.4281, allocations: 8.928 MB / 0.5175 GB, free: 22.86 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.264503956888802]