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.001996/0.001996, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002196/0.002196, allocations: 165.7 kB / 24.27 MB, free: 144 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.59/1.59, 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.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.3608/0.3608, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.753e-06/1.753e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/3.935e-05, allocations: 5.266 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003199/0.003238, allocations: 1.457 MB / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.005595, allocations: 1.296 MB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.005644, allocations: 0 / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.005848, allocations: 35.72 kB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.006093, allocations: 47.62 kB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.006777, allocations: 227 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.006912, allocations: 59.64 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.006955, allocations: 4 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.007034, allocations: 31.91 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.007101, allocations: 23.97 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.007114, allocations: 0 / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006215/0.007735, allocations: 271.5 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.007754, allocations: 7.938 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.007795, allocations: 19.98 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.008304, allocations: 307.1 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.008308, allocations: 0 / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008309, allocations: 0 / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.008313, allocations: 0 / 381 MB, free: 15.16 MB / 362.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.0006223/0.008935, allocations: 337.6 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.008977, allocations: 12.03 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.009031, allocations: 8.891 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.009184, allocations: 125.6 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.009198, allocations: 384 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.009227, allocations: 8.375 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.009403, allocations: 66.23 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.009414, allocations: 192 / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.009429, allocations: 8.125 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.009433, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.009544, allocations: 59.95 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.009764, allocations: 141.1 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.009873, allocations: 54.5 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.009944, allocations: 40.84 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.01001, allocations: 19.98 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.01004, allocations: 34.56 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.01004, allocations: 0 / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.02039/0.03043, allocations: 1.631 MB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.03049, allocations: 59.41 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.03065, allocations: 129.5 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.03068, allocations: 29.7 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.03075, allocations: 84.09 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/0.03082, allocations: 43.69 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.03094, allocations: 41.69 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.03113, allocations: 318.8 kB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009447/0.03207, allocations: 211.9 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.03273, allocations: 207.9 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.0341, allocations: 399.6 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.0341, allocations: 0 / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001503/0.03561, allocations: 465.3 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.03563, allocations: 7.938 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.03563, allocations: 0 / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.03566, allocations: 0 / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.03619, allocations: 71.88 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.0362, allocations: 0 / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.03661, allocations: 47.95 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.03664, allocations: 8.141 kB / 385.6 MB, free: 10.36 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.0001364/0.03677, allocations: 117.8 kB / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.03683, allocations: 19.88 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.03837, allocations: 362.1 kB / 386.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.03838, allocations: 4 kB / 386.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.03838, allocations: 4 kB / 386.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.03838, allocations: 0 / 386.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.04141, allocations: 0.7032 MB / 386.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.04141, allocations: 0 / 386.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.04189, allocations: 67.86 kB / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.04189, allocations: 0 / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.04192, allocations: 8.094 kB / 386.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.04192, allocations: 7.984 kB / 386.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.04192, allocations: 0 / 386.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.04334, allocations: 433.9 kB / 387.4 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.04343, allocations: 31.91 kB / 387.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.04347, allocations: 4 kB / 387.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.04393, allocations: 47.94 kB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.04396, allocations: 7.984 kB / 387.4 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.04399, allocations: 8 kB / 387.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.954e-05/0.04408, allocations: 95.27 kB / 387.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04408, allocations: 0 / 387.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006147/0.04469, allocations: 171.6 kB / 387.7 MB, free: 8.203 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.0007566/0.04545, allocations: 282.5 kB / 388 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.04687, allocations: 359.7 kB / 388.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.04688, allocations: 0 / 388.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.04751, allocations: 144 kB / 388.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.04792, allocations: 31.97 kB / 388.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.05075, allocations: 0.4948 MB / 389 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.986e-05/0.05084, allocations: 79.33 kB / 389.1 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.05105, allocations: 36.72 kB / 389.1 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.05122, allocations: 24.47 kB / 389.1 MB, free: 6.707 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.05122, allocations: 4 kB / 389.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of Templates: time 0.01638/0.06761, allocations: 8.955 MB / 398.1 MB, free: 13.75 MB / 378.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.2020835300209]