Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001077/0.001077, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001779/0.002856, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00109/0.00109, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.00251, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9556/0.9556, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09895/1.055, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02177/0.2553, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.768e-06/1.128e-05, allocations: 3.078 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001656/0.001667, allocations: 1.552 MB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.002954, allocations: 1.386 MB / 295.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.002987, allocations: 0 / 295.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.363e-05/0.00307, allocations: 43.7 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.003174, allocations: 43.64 kB / 295.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.003468, allocations: 207.5 kB / 295.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.003569, allocations: 51.67 kB / 295.9 MB, free: 3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.003607, allocations: 7.984 kB / 295.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.003683, allocations: 43.89 kB / 295.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.003735, allocations: 19.92 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.003745, allocations: 0 / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.004149, allocations: 299.5 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.004161, allocations: 7.938 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.004182, allocations: 15.94 kB / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.004474, allocations: 255.3 kB / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.004488, allocations: 4 kB / 296.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004489, allocations: 0 / 296.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.004504, allocations: 0 / 296.5 MB, free: 2.359 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.0004931/0.004997, allocations: 430.2 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.005028, allocations: 8.031 kB / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.005057, allocations: 8.922 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.005153, allocations: 120.1 kB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.005162, allocations: 4.312 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.005184, allocations: 8.359 kB / 297.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.941e-05/0.005273, allocations: 49.02 kB / 297.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005283, allocations: 4.188 kB / 297.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005292, allocations: 4.125 kB / 297.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005298, allocations: 4 kB / 297.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.005335, allocations: 19.97 kB / 297.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.005447, allocations: 70.7 kB / 297.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.005501, allocations: 30.56 kB / 297.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.005529, allocations: 20.86 kB / 297.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.00559, allocations: 23.92 kB / 297.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.005613, allocations: 30.56 kB / 297.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.005614, allocations: 0 / 297.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.006307/0.01192, allocations: 1.218 MB / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.01195, allocations: 55.41 kB / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.01203, allocations: 126.7 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01205, allocations: 33.64 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.01208, allocations: 96.08 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.01211, allocations: 51.5 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.01217, allocations: 41.67 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.01224, allocations: 326.8 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.01234, allocations: 110.8 kB / 299.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.01243, allocations: 108 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.0126, allocations: 196.1 kB / 299.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01261, allocations: 3.938 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002164/0.01282, allocations: 255.1 kB / 299.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01283, allocations: 10.03 kB / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01284, allocations: 0 / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.01285, allocations: 0 / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.01309, allocations: 63.86 kB / 300 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.0131, allocations: 7.938 kB / 300 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01322, allocations: 27.97 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.01323, allocations: 3.984 kB / 300.1 MB, free: 14.64 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 7.113e-05/0.0133, allocations: 113.8 kB / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.01332, allocations: 8 kB / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.01356, allocations: 163.1 kB / 300.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01356, allocations: 4 kB / 300.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01356, allocations: 0 / 300.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01356, allocations: 3.938 kB / 300.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.01426, allocations: 445 kB / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01426, allocations: 0 / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.01445, allocations: 67.92 kB / 300.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.0145, allocations: 19.89 kB / 300.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.0145, allocations: 11.88 kB / 300.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.01451, allocations: 3.984 kB / 300.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01452, allocations: 8.094 kB / 300.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01452, allocations: 0 / 300.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.0147, allocations: 262.5 kB / 301.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.01472, allocations: 7.938 kB / 301.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.01486, allocations: 27.97 kB / 301.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.01488, allocations: 11.98 kB / 301.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.01489, allocations: 7.984 kB / 301.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.132e-05/0.01491, allocations: 31.08 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01491, allocations: 0 / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.01524, allocations: 163.6 kB / 301.4 MB, free: 13.23 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.0003943/0.01564, allocations: 271.1 kB / 301.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.01587, allocations: 194.2 kB / 301.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.01588, allocations: 0 / 301.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/0.01595, allocations: 52.77 kB / 301.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.01613, allocations: 48.3 kB / 301.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.01774, allocations: 394.3 kB / 302.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.01777, allocations: 59.36 kB / 302.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.01789, allocations: 44.69 kB / 302.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.01806, allocations: 71.33 kB / 302.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01806, allocations: 4 kB / 302.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of Templates: time 0.009523/0.02758, allocations: 9.796 MB / 312.3 MB, free: 2.266 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.9399592988193035]