Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002003/0.002003, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002531/0.002531, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2463/0.2463, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.999e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002221/0.002251, allocations: 1.433 MB / 348.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.004089, allocations: 1.309 MB / 349.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.004137, allocations: 0 / 349.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.004317, allocations: 27.78 kB / 349.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.004531, allocations: 51.62 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.004964, allocations: 231 kB / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.005103, allocations: 59.64 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.005155, allocations: 4 kB / 350.1 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.005233, allocations: 27.97 kB / 350.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.005301, allocations: 19.92 kB / 350.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.005317, allocations: 4 kB / 350.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.005733, allocations: 271.5 kB / 350.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.005751, allocations: 4 kB / 350.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.005785, allocations: 15.94 kB / 350.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.006185, allocations: 315.1 kB / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.006189, allocations: 0 / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00619, allocations: 0 / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006196, allocations: 0 / 350.7 MB, free: 6.023 MB / 282.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.0005642/0.00676, allocations: 337.6 kB / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.006804, allocations: 8.031 kB / 351 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.006859, allocations: 12.89 kB / 351 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.006968, allocations: 114.7 kB / 351.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.006987, allocations: 8.312 kB / 351.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.007018, allocations: 8.359 kB / 351.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.007163, allocations: 70.23 kB / 351.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.007176, allocations: 192 / 351.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.007189, allocations: 4.125 kB / 351.2 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.007194, allocations: 0 / 351.2 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.007281, allocations: 63.95 kB / 351.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.007444, allocations: 137.3 kB / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.007518, allocations: 54.5 kB / 351.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.007568, allocations: 36.84 kB / 351.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-05/0.00763, allocations: 19.98 kB / 351.5 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.007653, allocations: 34.56 kB / 351.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.007654, allocations: 4 kB / 351.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.01893/0.02658, allocations: 1.638 MB / 353.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.02662, allocations: 59.41 kB / 353.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.02674, allocations: 136.9 kB / 353.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.02677, allocations: 29.7 kB / 353.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.0268, allocations: 84.09 kB / 353.5 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.02686, allocations: 39.69 kB / 353.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/0.02694, allocations: 49.64 kB / 353.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.02701, allocations: 318.8 kB / 353.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.02756, allocations: 203.9 kB / 354.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.02809, allocations: 207.9 kB / 354.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.02918, allocations: 396.7 kB / 354.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.02918, allocations: 0 / 354.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001205/0.03039, allocations: 461.4 kB / 355.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.0304, allocations: 7.938 kB / 355.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.03041, allocations: 0 / 355.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.03044, allocations: 3.984 kB / 355.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.03093, allocations: 63.94 kB / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.03093, allocations: 0 / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.0313, allocations: 51.89 kB / 355.3 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.03133, allocations: 7.984 kB / 355.3 MB, free: 1.223 MB / 282.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 9.844e-05/0.03142, allocations: 113.8 kB / 355.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.03147, allocations: 11.89 kB / 355.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.03272, allocations: 362.1 kB / 355.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.03272, allocations: 0 / 355.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.03273, allocations: 4 kB / 355.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.03273, allocations: 4 kB / 355.8 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.03523, allocations: 0.6917 MB / 356.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.03524, allocations: 11.91 kB / 356.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.03571, allocations: 63.94 kB / 356.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.03572, allocations: 0 / 356.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.03575, allocations: 11.98 kB / 356.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.03575, allocations: 8 kB / 356.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.03575, allocations: 0 / 356.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.03744, allocations: 437.7 kB / 357 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.03754, allocations: 35.91 kB / 357 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.03758, allocations: 0 / 357 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.03804, allocations: 47.95 kB / 357.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.03807, allocations: 7.984 kB / 357.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.03809, allocations: 4 kB / 357.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.975e-05/0.03818, allocations: 99.27 kB / 357.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03818, allocations: 0 / 357.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000675/0.03885, allocations: 171.6 kB / 357.4 MB, free: 15.08 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.0007783/0.03963, allocations: 278.6 kB / 357.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.04103, allocations: 363.7 kB / 358 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.04104, allocations: 0 / 358 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.04165, allocations: 144 kB / 358.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.04209, allocations: 31.97 kB / 358.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.04477, allocations: 0.4943 MB / 358.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.306e-05/0.04486, allocations: 83.19 kB / 358.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.04507, allocations: 40.64 kB / 358.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.04524, allocations: 24.48 kB / 358.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04524, allocations: 4 kB / 358.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Templates: time 0.01724/0.06248, allocations: 8.963 MB / 367.8 MB, free: 4.609 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.671708864974789]