Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 88.31 kB / 20.96 MB, free: 3.48 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3583/0.3583, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.253e-05, allocations: 2.312 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003047/0.00308, allocations: 1.457 MB / 376.7 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.005209, allocations: 1.285 MB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.005247, allocations: 0 / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.005403, allocations: 31.72 kB / 378 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.005588, allocations: 47.69 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.006094, allocations: 227 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.006216, allocations: 59.7 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.079e-05/0.006247, allocations: 0 / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.006326, allocations: 39.84 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.006383, allocations: 15.92 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.006398, allocations: 4 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.006925, allocations: 275.6 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.006942, allocations: 8 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.006977, allocations: 15.94 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.007463, allocations: 311 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.007469, allocations: 4 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.00747, allocations: 0 / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.007474, allocations: 0 / 379 MB, free: 1.195 MB / 346.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.0005565/0.00803, allocations: 337.6 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.008065, allocations: 8.031 kB / 379.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.008114, allocations: 8.891 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.008258, allocations: 121.2 kB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.008279, allocations: 12.36 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.008303, allocations: 4.375 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.008442, allocations: 62.23 kB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.008454, allocations: 4.188 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.008464, allocations: 4.125 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.008468, allocations: 0 / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.008574, allocations: 67.89 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.008771, allocations: 137.2 kB / 379.8 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.00887, allocations: 54.56 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.008927, allocations: 36.84 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.008984, allocations: 19.98 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.009018, allocations: 38.56 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.00902, allocations: 0 / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.01958/0.0286, allocations: 1.638 MB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.02865, allocations: 55.34 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.0288, allocations: 130.1 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.02885, allocations: 33.7 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.0289, allocations: 84.09 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.02896, allocations: 39.69 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.02908, allocations: 41.69 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.02926, allocations: 322.8 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/0.02992, allocations: 203.9 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.03058, allocations: 211.9 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.03191, allocations: 387.8 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.03191, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001584/0.0335, allocations: 473.3 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.03352, allocations: 9.812 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.03353, allocations: 8 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.03355, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.03407, allocations: 59.94 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.03408, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.03449, allocations: 43.95 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.03453, allocations: 7.984 kB / 383.6 MB, free: 12.4 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.0001343/0.03466, allocations: 113.8 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.03472, allocations: 19.89 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.0362, allocations: 378 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.0362, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.03621, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.03621, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.03913, allocations: 0.6955 MB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.03913, allocations: 0 / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.03964, allocations: 80.02 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.03964, allocations: 0 / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.03967, allocations: 4 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.03967, allocations: 7.922 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.03968, allocations: 4 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.04105, allocations: 429.7 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.04114, allocations: 27.91 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.04118, allocations: 4 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.04161, allocations: 43.95 kB / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.04164, allocations: 11.92 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.04166, allocations: 8 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.294e-05/0.04174, allocations: 99.27 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04174, allocations: 0 / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006442/0.04239, allocations: 171.6 kB / 385.7 MB, free: 10.25 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.0007359/0.04312, allocations: 274.7 kB / 386 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.04449, allocations: 359.7 kB / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.0445, allocations: 0 / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.0451, allocations: 144 kB / 386.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.04552, allocations: 35.97 kB / 386.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.04816, allocations: 0.5025 MB / 387 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.04826, allocations: 79.33 kB / 387.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.04846, allocations: 36.72 kB / 387.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.04863, allocations: 28.47 kB / 387.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04863, allocations: 0 / 387.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of Templates: time 0.01654/0.06517, allocations: 8.954 MB / 396.1 MB, free: 15.79 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.176090005901642]