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.001335/0.001335, allocations: 83.73 kB / 20.52 MB, free: 1.121 MB / 14.72 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.00149/0.00149, allocations: 162.5 kB / 23.76 MB, free: 4.199 MB / 14.72 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.445/1.445, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 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.2231/0.2231, allocations: 32.38 MB / 270.1 MB, free: 2.715 MB / 254.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 71.89 kB / 407.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1434, allocations: 61.05 MB / 468.8 MB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003343/0.1468, allocations: 1.425 MB / 470.2 MB, free: 6.859 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1491, allocations: 1.309 MB / 471.5 MB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.1491, allocations: 0 / 471.5 MB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.1494, allocations: 27.86 kB / 471.6 MB, free: 5.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.1496, allocations: 55.69 kB / 471.6 MB, free: 5.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.1503, allocations: 215.1 kB / 471.8 MB, free: 5.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1505, allocations: 59.66 kB / 471.9 MB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.1505, allocations: 11.92 kB / 471.9 MB, free: 5.176 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.1506, allocations: 23.92 kB / 471.9 MB, free: 5.152 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.1506, allocations: 23.86 kB / 471.9 MB, free: 5.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1507, allocations: 4 kB / 472 MB, free: 5.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006041/0.1513, allocations: 267.7 kB / 472.2 MB, free: 4.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.1513, allocations: 15.92 kB / 472.2 MB, free: 4.848 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.1513, allocations: 15.88 kB / 472.2 MB, free: 4.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000553/0.1519, allocations: 267.2 kB / 472.5 MB, free: 4.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1519, allocations: 0 / 472.5 MB, free: 4.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1519, allocations: 4 kB / 472.5 MB, free: 4.566 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1519, allocations: 0 / 472.5 MB, free: 4.566 MB / 446.1 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.0006404/0.1525, allocations: 337.6 kB / 472.8 MB, free: 4.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1526, allocations: 12.03 kB / 472.9 MB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1526, allocations: 8.891 kB / 472.9 MB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1528, allocations: 122.4 kB / 473 MB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1528, allocations: 4.375 kB / 473 MB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1528, allocations: 4.375 kB / 473 MB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.153, allocations: 73.69 kB / 473.1 MB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.153, allocations: 0 / 473.1 MB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.153, allocations: 3.938 kB / 473.1 MB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.153, allocations: 4 kB / 473.1 MB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1531, allocations: 59.95 kB / 473.1 MB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.1534, allocations: 133.2 kB / 473.3 MB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1535, allocations: 54.56 kB / 473.3 MB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.1535, allocations: 40.84 kB / 473.4 MB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.79e-05/0.1536, allocations: 23.92 kB / 473.4 MB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1536, allocations: 30.56 kB / 473.4 MB, free: 3.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1536, allocations: 0 / 473.4 MB, free: 3.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.02088/0.1745, allocations: 1.65 MB / 475.1 MB, free: 1.883 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1746, allocations: 55.41 kB / 475.1 MB, free: 1.816 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1747, allocations: 130.1 kB / 475.2 MB, free: 1.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1748, allocations: 25.7 kB / 475.3 MB, free: 1.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.1748, allocations: 84.14 kB / 475.3 MB, free: 1.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.1749, allocations: 39.64 kB / 475.4 MB, free: 1.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.175, allocations: 53.67 kB / 475.4 MB, free: 1.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1751, allocations: 314.8 kB / 475.7 MB, free: 1.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006458/0.1758, allocations: 211.9 kB / 475.9 MB, free: 0.9414 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.1764, allocations: 203.8 kB / 476.1 MB, free: 0.7422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.1778, allocations: 396.7 kB / 476.5 MB, free: 360 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1778, allocations: 0 / 476.5 MB, free: 360 kB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.2763/0.4541, allocations: 454.8 kB / 477 MB, free: 50.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.4541, allocations: 7.25 kB / 477 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4541, allocations: 0.9844 kB / 477 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.4541, allocations: 1.438 kB / 477 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.4547, allocations: 62.55 kB / 477 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4547, allocations: 0 / 477 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.4551, allocations: 42.06 kB / 477.1 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.4551, allocations: 7.953 kB / 477.1 MB, free: 50.17 MB / 446.1 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.0001143/0.4552, allocations: 123.2 kB / 477.2 MB, free: 50.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.4553, allocations: 4.641 kB / 477.2 MB, free: 50.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.4567, allocations: 372.4 kB / 477.6 MB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4567, allocations: 3.188 kB / 477.6 MB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4567, allocations: 0 / 477.6 MB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4567, allocations: 0.5 kB / 477.6 MB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.4593, allocations: 0.6995 MB / 478.3 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4593, allocations: 0 / 478.3 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.4598, allocations: 66.28 kB / 478.4 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4598, allocations: 3.75 kB / 478.4 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.4598, allocations: 13.06 kB / 478.4 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4598, allocations: 7.406 kB / 478.4 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4598, allocations: 3.984 kB / 478.4 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.4609, allocations: 428.1 kB / 478.8 MB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.461, allocations: 29.92 kB / 478.8 MB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.461, allocations: 6.688 kB / 478.8 MB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.4615, allocations: 41.53 kB / 478.9 MB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.4615, allocations: 15.62 kB / 478.9 MB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.4615, allocations: 9.938 kB / 478.9 MB, free: 49.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.171e-05/0.4616, allocations: 97.95 kB / 479 MB, free: 49.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4616, allocations: 0 / 479 MB, free: 49.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005451/0.4621, allocations: 171 kB / 479.2 MB, free: 49.54 MB / 446.1 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.0005289/0.4626, allocations: 252.9 kB / 479.4 MB, free: 49.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.4638, allocations: 356.2 kB / 479.8 MB, free: 49.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4638, allocations: 0 / 479.8 MB, free: 49.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.4643, allocations: 145.7 kB / 479.9 MB, free: 49.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.4647, allocations: 22.84 kB / 479.9 MB, free: 49.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4671, allocations: 0.5094 MB / 480.4 MB, free: 49.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.393e-05/0.4672, allocations: 80.19 kB / 480.5 MB, free: 49.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.4673, allocations: 41.44 kB / 480.6 MB, free: 49.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.4675, allocations: 27.33 kB / 480.6 MB, free: 49.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4675, allocations: 0 / 480.6 MB, free: 49.18 MB / 446.1 MB Notification: Performance of Templates: time 0.01195/0.4794, allocations: 8.92 MB / 489.5 MB, free: 48.56 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/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.546418551006354]