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.0009295/0.0009295, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001209/0.001209, allocations: 174.1 kB / 24.92 MB, free: 9.188 MB / 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 0.9473/0.9473, allocations: 177.1 MB / 205.3 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.2316/0.2316, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] 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.192e-06/1.192e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.846e-05, allocations: 3.891 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001728/0.001746, allocations: 1.495 MB / 324.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.003045, allocations: 1.39 MB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.003083, allocations: 4 kB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.003215, allocations: 27.78 kB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.003395, allocations: 51.62 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.003717, allocations: 227.6 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.444e-05/0.003801, allocations: 59.64 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.03e-05/0.003832, allocations: 7.938 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.003885, allocations: 31.91 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.00393, allocations: 11.98 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.003939, allocations: 4 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.004293, allocations: 283.5 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.004306, allocations: 7.938 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.004326, allocations: 12 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.004607, allocations: 303.1 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004609, allocations: 0 / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00461, allocations: 0 / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.004613, allocations: 0 / 327.1 MB, free: 5.789 MB / 298.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.0003083/0.004921, allocations: 325.3 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.004953, allocations: 8.031 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.004975, allocations: 4.938 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.956e-05/0.005044, allocations: 125.6 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.005053, allocations: 4.375 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.00507, allocations: 8.375 kB / 327.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.223e-05/0.005132, allocations: 49.06 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.005139, allocations: 192 / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.005147, allocations: 8.109 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.00515, allocations: 0 / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.005177, allocations: 23.91 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.607e-05/0.005263, allocations: 79.31 kB / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.833e-05/0.005301, allocations: 30.52 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.005321, allocations: 24.84 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.00536, allocations: 16.75 kB / 327.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.005376, allocations: 38.55 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 7.11e-07/0.005377, allocations: 0 / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.006536/0.01191, allocations: 1.199 MB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.01194, allocations: 51.41 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.01201, allocations: 145.1 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01203, allocations: 29.7 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.01205, allocations: 92.08 kB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.01209, allocations: 39.64 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.01215, allocations: 45.66 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.01222, allocations: 322.8 kB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.01231, allocations: 98.75 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.01238, allocations: 95.98 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.01257, allocations: 187 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01257, allocations: 3.938 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002076/0.01278, allocations: 225.6 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.01279, allocations: 8 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01279, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.0128, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.01299, allocations: 55.88 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.01299, allocations: 3.938 kB / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.01311, allocations: 27.97 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01312, allocations: 4 kB / 330.5 MB, free: 2.273 MB / 298.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 6.543e-05/0.01319, allocations: 113.8 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.01321, allocations: 11.98 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.01343, allocations: 151.2 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01344, allocations: 4 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01344, allocations: 0 / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01344, allocations: 3.938 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.01415, allocations: 441 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01415, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.0143, allocations: 43.95 kB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01431, allocations: 0 / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.01432, allocations: 11.92 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01432, allocations: 8.094 kB / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01433, allocations: 0 / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.01452, allocations: 268.7 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.01456, allocations: 19.89 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01459, allocations: 11.94 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01472, allocations: 27.97 kB / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.01473, allocations: 7.984 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.01474, allocations: 11.98 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.769e-05/0.01476, allocations: 20.83 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01476, allocations: 0 / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.01509, allocations: 171.6 kB / 331.8 MB, free: 0.8945 MB / 298.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.0003985/0.01549, allocations: 259.8 kB / 332 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.01568, allocations: 166.6 kB / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01569, allocations: 3.938 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.01575, allocations: 52.97 kB / 332.2 MB, free: 420 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.01591, allocations: 35.95 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.01687, allocations: 374.5 kB / 332.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.01691, allocations: 63.34 kB / 332.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.01702, allocations: 40.94 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.0172, allocations: 75.31 kB / 332.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0172, allocations: 3.938 kB / 332.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of Templates: time 0.009458/0.02666, allocations: 9.965 MB / 342.8 MB, free: 5.848 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] 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","",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.985032414086163]