Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001029/0.001029, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009976/0.0009976, allocations: 165 kB / 24.56 MB, free: 12 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 0.9003/0.9003, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 32.8 MB / 294.3 MB, free: 1.305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.018e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001778/0.001798, allocations: 1.504 MB / 377.5 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003133, allocations: 1.386 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.003174, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.003344, allocations: 35.77 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.003562, allocations: 47.64 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.00395, allocations: 234.9 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.004043, allocations: 51.67 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.004079, allocations: 4 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.00415, allocations: 31.97 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.004207, allocations: 27.89 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.004218, allocations: 0 / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.004647, allocations: 275.6 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.004665, allocations: 11.97 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.004699, allocations: 11.94 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.005054, allocations: 303.1 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005057, allocations: 0 / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005058, allocations: 0 / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.005062, allocations: 0 / 379.9 MB, free: 0.7539 MB / 346.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.0004849/0.005547, allocations: 451.8 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.005582, allocations: 8.031 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.005624, allocations: 12.89 kB / 380.4 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.005718, allocations: 116.1 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.005733, allocations: 12.38 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.005756, allocations: 384 / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.00586, allocations: 54.17 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.005872, allocations: 192 / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.005886, allocations: 8.125 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.005897, allocations: 7.984 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.005939, allocations: 15.98 kB / 380.6 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.006139, allocations: 148.5 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.834e-05/0.006208, allocations: 47.05 kB / 380.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.006243, allocations: 27.67 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.006294, allocations: 20 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.006317, allocations: 41.31 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.006318, allocations: 0 / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.008521/0.01484, allocations: 1.302 MB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.01488, allocations: 55.41 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.015, allocations: 193.9 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.01502, allocations: 29.7 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.01506, allocations: 138.8 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.01511, allocations: 47.84 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.01519, allocations: 51.3 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.0153, allocations: 0.4923 MB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.01545, allocations: 132 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.01558, allocations: 136 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.01588, allocations: 226.8 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01588, allocations: 8 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003654/0.01624, allocations: 317.5 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.01626, allocations: 11.94 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.01627, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.01629, allocations: 3.984 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.01654, allocations: 51.95 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01655, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.01669, allocations: 27.97 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.01671, allocations: 11.98 kB / 384.1 MB, free: 12.37 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 9.367e-05/0.0168, allocations: 160.5 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.01684, allocations: 15.89 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.01721, allocations: 194.3 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01722, allocations: 3.984 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.01722, allocations: 4 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01723, allocations: 0 / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.01821, allocations: 0.5586 MB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.01821, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.0184, allocations: 51.89 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.0184, allocations: 4 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.01842, allocations: 7.984 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01842, allocations: 0 / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01842, allocations: 4.094 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.01872, allocations: 334.7 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.01877, allocations: 27.92 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.01879, allocations: 0 / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.01895, allocations: 31.97 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.01897, allocations: 11.98 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01899, allocations: 7.984 kB / 385.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.01903, allocations: 139.2 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01903, allocations: 0 / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.01943, allocations: 171.6 kB / 385.8 MB, free: 10.56 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.0004821/0.01991, allocations: 274.7 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.02023, allocations: 231.7 kB / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02023, allocations: 0 / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.02033, allocations: 63.59 kB / 386.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.02055, allocations: 39.91 kB / 386.4 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.02169, allocations: 397.4 kB / 386.8 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.02174, allocations: 63.34 kB / 386.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.02185, allocations: 32.72 kB / 386.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.02196, allocations: 28.47 kB / 386.9 MB, free: 9.375 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.02196, allocations: 0 / 386.9 MB, free: 9.375 MB / 362.7 MB Notification: Performance of Templates: time 0.01145/0.03341, allocations: 10.07 MB / 397 MB, free: 15.31 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.983960456214845]