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.0009918/0.0009918, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009056/0.0009056, allocations: 165.4 kB / 24.56 MB, free: 16 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.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.2476/0.2476, allocations: 34.26 MB / 295.7 MB, free: 0.6445 MB / 266.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.443e-06/1.443e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.793e-05, allocations: 4.844 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002055/0.002083, allocations: 1.496 MB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.003604, allocations: 1.394 MB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.00367, allocations: 0 / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.003916, allocations: 35.67 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.004188, allocations: 47.67 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.004749, allocations: 231 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.00488, allocations: 51.72 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.004928, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.005018, allocations: 35.89 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.005096, allocations: 23.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.005114, allocations: 0 / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.00574, allocations: 279.6 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.005759, allocations: 7.938 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.005798, allocations: 15.92 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.006203, allocations: 303.1 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006206, allocations: 0 / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006207, allocations: 0 / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.006213, allocations: 0 / 381.9 MB, free: 14.7 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.0004637/0.006677, allocations: 451.8 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.006717, allocations: 8.031 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.00676, allocations: 12.89 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.392e-05/0.006854, allocations: 120.5 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.006867, allocations: 4.375 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.00689, allocations: 384 / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.905e-05/0.006989, allocations: 46.25 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.007, allocations: 4.172 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.007013, allocations: 8.125 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.007022, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.007064, allocations: 15.98 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.007221, allocations: 148.5 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.007285, allocations: 50.98 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.007319, allocations: 19.69 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.007377, allocations: 23.98 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.007401, allocations: 37.39 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.007403, allocations: 0 / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.008085/0.01549, allocations: 1.302 MB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.01553, allocations: 55.41 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.01563, allocations: 196.9 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.01566, allocations: 25.7 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.01571, allocations: 147 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.01575, allocations: 35.64 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.01583, allocations: 59.28 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01596, allocations: 0.4884 MB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.0161, allocations: 139.9 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.01624, allocations: 135.3 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.01652, allocations: 235.5 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01653, allocations: 4 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003627/0.01689, allocations: 313.6 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.0169, allocations: 11.94 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01691, allocations: 0 / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01693, allocations: 3.984 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.01717, allocations: 55.89 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01718, allocations: 4.141 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.01733, allocations: 23.97 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.01735, allocations: 11.98 kB / 386.1 MB, free: 10.32 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.000107/0.01746, allocations: 156.6 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.0175, allocations: 23.89 kB / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.01787, allocations: 198.2 kB / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01788, allocations: 0 / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01788, allocations: 0 / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01788, allocations: 3.938 kB / 386.5 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/0.01886, allocations: 0.5587 MB / 387 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01886, allocations: 0 / 387 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.01904, allocations: 47.95 kB / 387.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01904, allocations: 0 / 387.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.01906, allocations: 7.984 kB / 387.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.01906, allocations: 8.094 kB / 387.1 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01906, allocations: 0 / 387.1 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.01937, allocations: 334.8 kB / 387.4 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.01943, allocations: 31.91 kB / 387.5 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.01945, allocations: 0 / 387.5 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.0196, allocations: 31.97 kB / 387.5 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.01963, allocations: 11.98 kB / 387.5 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.01964, allocations: 7.984 kB / 387.5 MB, free: 8.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.625e-05/0.0197, allocations: 139.2 kB / 387.6 MB, free: 8.676 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0197, allocations: 0 / 387.6 MB, free: 8.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004693/0.02017, allocations: 171.6 kB / 387.8 MB, free: 8.508 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.0005559/0.02072, allocations: 278.6 kB / 388.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.02107, allocations: 222.5 kB / 388.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02107, allocations: 0 / 388.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.545e-05/0.02117, allocations: 67.58 kB / 388.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.0214, allocations: 40.16 kB / 388.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.02261, allocations: 397.2 kB / 388.8 MB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.02265, allocations: 63.34 kB / 388.8 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.02277, allocations: 36.7 kB / 388.9 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.02288, allocations: 32.41 kB / 388.9 MB, free: 7.316 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02288, allocations: 0 / 388.9 MB, free: 7.316 MB / 362.7 MB Notification: Performance of Templates: time 0.01153/0.03441, allocations: 10.06 MB / 399 MB, free: 13.26 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=240 -emit_protected -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: 3.2129208450205624]