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.0007926/0.0007926, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007762/0.0007762, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.8425/0.8425, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1314/0.1314, allocations: 32.37 MB / 270.3 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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 8.42e-07/8.42e-07, allocations: 0 / 408.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.473e-05, allocations: 6.219 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001493/0.001508, allocations: 1.441 MB / 409.5 MB, free: 288 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.002694, allocations: 1.309 MB / 410.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.002729, allocations: 0 / 410.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.002865, allocations: 27.84 kB / 410.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.003041, allocations: 51.64 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.003347, allocations: 227 kB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.003442, allocations: 59.66 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.003479, allocations: 3.984 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.00354, allocations: 35.91 kB / 411.3 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.003596, allocations: 15.92 kB / 411.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.00361, allocations: 4 kB / 411.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.003922, allocations: 271.6 kB / 411.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.003935, allocations: 3.938 kB / 411.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.003958, allocations: 20 kB / 411.6 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.004259, allocations: 303.1 kB / 411.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004261, allocations: 3.938 kB / 411.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004262, allocations: 0 / 411.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004266, allocations: 0 / 411.9 MB, free: 13.95 MB / 394.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.0003979/0.004664, allocations: 345.5 kB / 412.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.004698, allocations: 8.031 kB / 412.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.004728, allocations: 8.891 kB / 412.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.923e-05/0.004808, allocations: 117.7 kB / 412.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.004819, allocations: 8.359 kB / 412.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.004838, allocations: 8.375 kB / 412.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.004942, allocations: 62.23 kB / 412.4 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.004958, allocations: 4.188 kB / 412.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.004974, allocations: 8.125 kB / 412.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.004981, allocations: 0 / 412.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.005055, allocations: 63.89 kB / 412.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.005183, allocations: 133.2 kB / 412.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.771e-05/0.005251, allocations: 58.62 kB / 412.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.00529, allocations: 36.84 kB / 412.7 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.005338, allocations: 19.98 kB / 412.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.005357, allocations: 38.56 kB / 412.8 MB, free: 12.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.005358, allocations: 0 / 412.8 MB, free: 12.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.008521/0.01388, allocations: 1.627 MB / 414.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.01391, allocations: 59.34 kB / 414.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.014, allocations: 138 kB / 414.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.01402, allocations: 29.7 kB / 414.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.01406, allocations: 80.14 kB / 414.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.01409, allocations: 43.64 kB / 414.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.01444, allocations: 45.69 kB / 414.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.01452, allocations: 318.8 kB / 415.1 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.01483, allocations: 207.9 kB / 415.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.01513, allocations: 207.9 kB / 415.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.01574, allocations: 392.8 kB / 415.9 MB, free: 9.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01574, allocations: 0 / 415.9 MB, free: 9.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006614/0.0164, allocations: 457.4 kB / 416.3 MB, free: 9.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01642, allocations: 11.88 kB / 416.3 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.01642, allocations: 3.938 kB / 416.3 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.01644, allocations: 4 kB / 416.3 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.01668, allocations: 63.94 kB / 416.4 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.01668, allocations: 0 / 416.4 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.01685, allocations: 43.95 kB / 416.4 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01686, allocations: 7.984 kB / 416.5 MB, free: 9.16 MB / 394.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 7.913e-05/0.01694, allocations: 117.8 kB / 416.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.01696, allocations: 11.89 kB / 416.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006875/0.01765, allocations: 366.1 kB / 416.9 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01765, allocations: 0 / 416.9 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01766, allocations: 4 kB / 416.9 MB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01766, allocations: 4 kB / 416.9 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.01897, allocations: 0.6993 MB / 417.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.01897, allocations: 4 kB / 417.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.01917, allocations: 63.92 kB / 417.7 MB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01917, allocations: 4.031 kB / 417.7 MB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.01918, allocations: 8 kB / 417.7 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01919, allocations: 7.984 kB / 417.7 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01919, allocations: 3.938 kB / 417.7 MB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.0198, allocations: 417.8 kB / 418.1 MB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.01986, allocations: 31.91 kB / 418.2 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01988, allocations: 0 / 418.2 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.02006, allocations: 47.95 kB / 418.2 MB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.02008, allocations: 11.92 kB / 418.2 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.02009, allocations: 4 kB / 418.2 MB, free: 7.293 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.07e-05/0.02013, allocations: 102.9 kB / 418.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02013, allocations: 0 / 418.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.02049, allocations: 175.6 kB / 418.5 MB, free: 7.023 MB / 394.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.0004407/0.02093, allocations: 274.5 kB / 418.8 MB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006467/0.02158, allocations: 359.7 kB / 419.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.02158, allocations: 0 / 419.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.02185, allocations: 148 kB / 419.3 MB, free: 6.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.02208, allocations: 20.12 kB / 419.3 MB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.02327, allocations: 0.5132 MB / 419.8 MB, free: 5.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.02332, allocations: 84.08 kB / 419.9 MB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.02343, allocations: 28.47 kB / 419.9 MB, free: 5.535 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02343, allocations: 3.938 kB / 419.9 MB, free: 5.531 MB / 394.7 MB Notification: Performance of Templates: time 0.004708/0.02814, allocations: 4.67 MB / 424.6 MB, free: 0.8516 MB / 394.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: 4.343397070653737]