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.001221/0.001221, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.0009828/0.0009828, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.8993/0.8993, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.246/0.246, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 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 1.513e-06/1.513e-06, allocations: 0 / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.993e-05, allocations: 3.016 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00178/0.0018, allocations: 1.503 MB / 380.7 MB, free: 308 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003004, allocations: 1.366 MB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.003035, allocations: 0 / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.003152, allocations: 43.64 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.003291, allocations: 43.7 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.003591, allocations: 230.9 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.003667, allocations: 51.72 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.789e-05/0.003695, allocations: 4 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.00375, allocations: 35.89 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.003794, allocations: 23.92 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.003802, allocations: 4 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.004137, allocations: 275.5 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.004148, allocations: 7.984 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.004165, allocations: 11.94 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.004442, allocations: 303.1 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004444, allocations: 0 / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004445, allocations: 3.938 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.004448, allocations: 0 / 383.1 MB, free: 13.91 MB / 362.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.0003496/0.004798, allocations: 443.8 kB / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.004835, allocations: 12.03 kB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.004861, allocations: 16.89 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.048e-05/0.004931, allocations: 120.5 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.004942, allocations: 8.359 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.004955, allocations: 384 / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.37e-05/0.005018, allocations: 46.25 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.005026, allocations: 192 / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.005032, allocations: 4.125 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005036, allocations: 0 / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.005064, allocations: 19.98 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.005168, allocations: 121.2 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.213e-05/0.00521, allocations: 50.98 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.005232, allocations: 19.84 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.005278, allocations: 23.97 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.005295, allocations: 37.39 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 6.71e-07/0.005296, allocations: 0 / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.00736/0.01266, allocations: 1.282 MB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.01268, allocations: 55.41 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.01278, allocations: 197.8 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01279, allocations: 25.7 kB / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.01283, allocations: 138.8 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.01287, allocations: 43.58 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.01294, allocations: 59.31 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01305, allocations: 496.1 kB / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.01315, allocations: 112 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.01324, allocations: 108 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.01345, allocations: 207.5 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01346, allocations: 0 / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000277/0.01373, allocations: 270.5 kB / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01374, allocations: 4 kB / 387 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01375, allocations: 3.938 kB / 387 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01376, allocations: 4 kB / 387 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.01397, allocations: 55.94 kB / 387 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.01397, allocations: 7.938 kB / 387.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.01411, allocations: 27.97 kB / 387.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01412, allocations: 4 kB / 387.1 MB, free: 9.715 MB / 362.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: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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.333e-05/0.01421, allocations: 168.6 kB / 387.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.01424, allocations: 7.953 kB / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.01453, allocations: 182.2 kB / 387.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01453, allocations: 4 kB / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01453, allocations: 0 / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01454, allocations: 0 / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.01535, allocations: 0.528 MB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01536, allocations: 3.938 kB / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.01552, allocations: 51.95 kB / 388 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01552, allocations: 0 / 388 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.01554, allocations: 12.08 kB / 388 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01554, allocations: 0 / 388 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01554, allocations: 4 kB / 388 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.01579, allocations: 306.8 kB / 388.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.01584, allocations: 35.84 kB / 388.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.01586, allocations: 0 / 388.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.016, allocations: 31.97 kB / 388.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.01602, allocations: 11.98 kB / 388.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01603, allocations: 7.984 kB / 388.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.127e-05/0.01607, allocations: 141.4 kB / 388.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01607, allocations: 0 / 388.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.01644, allocations: 171.6 kB / 388.7 MB, free: 7.977 MB / 362.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 (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.0004234/0.01686, allocations: 274.7 kB / 389 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.01709, allocations: 187.5 kB / 389.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01709, allocations: 4 kB / 389.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.01717, allocations: 63.77 kB / 389.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.01737, allocations: 38.72 kB / 389.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.01834, allocations: 393.1 kB / 389.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.01838, allocations: 63.34 kB / 389.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.01848, allocations: 40.94 kB / 389.8 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.01865, allocations: 102.2 kB / 389.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01865, allocations: 0 / 389.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of Templates: time 0.009249/0.0279, allocations: 9.969 MB / 399.8 MB, free: 12.8 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.974468052852899]