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.002402/0.002402, allocations: 99.53 kB / 20.96 MB, free: 3.453 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.002984/0.002984, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 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 1.593/1.593, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.3442/0.3442, allocations: 34.26 MB / 295.2 MB, free: 0.6523 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 2.244e-06/2.244e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.12e-05/4.344e-05, allocations: 2.312 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.004757/0.004801, allocations: 1.468 MB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004149/0.00895, allocations: 1.39 MB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.009036, allocations: 0 / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.00933, allocations: 31.78 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.009667, allocations: 51.62 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.01071, allocations: 223 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.0109, allocations: 55.66 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.69e-05/0.01096, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.01108, allocations: 35.89 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.01118, allocations: 27.86 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.0112, allocations: 0 / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.01221, allocations: 275.7 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.01224, allocations: 7.938 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.01229, allocations: 15.92 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009044/0.0132, allocations: 303.1 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.0132, allocations: 3.938 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0132, allocations: 0 / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.01321, allocations: 0 / 381.1 MB, free: 15.01 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.0009683/0.01418, allocations: 443.5 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.01423, allocations: 8.031 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/0.01431, allocations: 16.88 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.01451, allocations: 120.5 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.01453, allocations: 8.312 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.01456, allocations: 4.375 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.01477, allocations: 50.23 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01478, allocations: 4.188 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.0148, allocations: 4.125 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.01481, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.01495, allocations: 35.91 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.01528, allocations: 144.5 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.01544, allocations: 43.06 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.01554, allocations: 35.67 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.9e-05/0.01563, allocations: 19.98 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.01569, allocations: 33.39 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.01569, allocations: 0 / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.03514/0.05083, allocations: 1.457 MB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.0509, allocations: 55.34 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.05119, allocations: 200.2 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.05125, allocations: 29.7 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.0514, allocations: 147 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.013e-05/0.05149, allocations: 35.64 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.05169, allocations: 59.33 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003642/0.05206, allocations: 496.1 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.05312, allocations: 203.9 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.05415, allocations: 199.9 kB / 384.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.05618, allocations: 332.5 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.05618, allocations: 0 / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002007/0.05818, allocations: 444.6 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.05822, allocations: 15.92 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.05823, allocations: 0 / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.05825, allocations: 0 / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.05891, allocations: 47.95 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.05892, allocations: 0 / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.05941, allocations: 31.97 kB / 385.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.05945, allocations: 7.984 kB / 385.7 MB, free: 10.12 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.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 0.0001975/0.05965, allocations: 164.6 kB / 385.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.05972, allocations: 11.89 kB / 385.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.06148, allocations: 326.2 kB / 386.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.06149, allocations: 3.938 kB / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.06149, allocations: 0 / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.0615, allocations: 0 / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.0649, allocations: 0.6757 MB / 386.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.06491, allocations: 4 kB / 386.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.06535, allocations: 56.05 kB / 387 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.06535, allocations: 0 / 387 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.06538, allocations: 7.984 kB / 387 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.06539, allocations: 7.938 kB / 387 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.06539, allocations: 0 / 387 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.06666, allocations: 442.7 kB / 387.4 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.06676, allocations: 31.91 kB / 387.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.06679, allocations: 4 kB / 387.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.06717, allocations: 31.97 kB / 387.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.06721, allocations: 15.86 kB / 387.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.06724, allocations: 11.98 kB / 387.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.06734, allocations: 146 kB / 387.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06734, allocations: 0 / 387.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006191/0.06796, allocations: 167.6 kB / 387.8 MB, free: 7.941 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.00083/0.06879, allocations: 274.7 kB / 388.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.07007, allocations: 343.5 kB / 388.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.07008, allocations: 0 / 388.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.07063, allocations: 135.6 kB / 388.6 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.07096, allocations: 40.11 kB / 388.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.07335, allocations: 449.3 kB / 389 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.731e-05/0.07345, allocations: 83.27 kB / 389.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000201/0.07365, allocations: 40.92 kB / 389.2 MB, free: 6.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.07381, allocations: 28.47 kB / 389.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.07381, allocations: 0 / 389.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of Templates: time 0.01717/0.09098, allocations: 9.061 MB / 398.2 MB, free: 13.43 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","/var/lib/jenkins/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.317171189934015]