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.001935/0.001935, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.003038/0.003038, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.522/1.522, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 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.2135/0.2135, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 346.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.156e-05, allocations: 6.312 kB / 346.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002215/0.002247, allocations: 1.464 MB / 348.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.003883, allocations: 1.379 MB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.003932, allocations: 7.938 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.004133, allocations: 39.77 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.004348, allocations: 43.7 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.004795, allocations: 230.9 kB / 350.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.004911, allocations: 51.73 kB / 350.2 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.004958, allocations: 11.92 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.005049, allocations: 27.97 kB / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.005111, allocations: 23.91 kB / 350.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.005125, allocations: 0 / 350.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.005533, allocations: 271.5 kB / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.005548, allocations: 4 kB / 350.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.005579, allocations: 23.92 kB / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.005994, allocations: 299.1 kB / 350.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.006001, allocations: 4 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.006003, allocations: 4 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.006009, allocations: 0 / 350.8 MB, free: 5.891 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.0005275/0.006537, allocations: 443.5 kB / 351.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.00658, allocations: 12.02 kB / 351.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.006635, allocations: 8.891 kB / 351.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/0.006735, allocations: 121.5 kB / 351.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.006752, allocations: 384 / 351.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.006778, allocations: 12.31 kB / 351.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.006909, allocations: 46.25 kB / 351.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.006923, allocations: 192 / 351.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006935, allocations: 8.125 kB / 351.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.00694, allocations: 0 / 351.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.363e-05/0.007013, allocations: 43.95 kB / 351.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.007184, allocations: 136.6 kB / 351.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.00726, allocations: 43.06 kB / 351.7 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.007305, allocations: 31.61 kB / 351.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/0.007368, allocations: 19.98 kB / 351.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.007392, allocations: 41.39 kB / 351.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.007393, allocations: 0 / 351.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.02023/0.02762, allocations: 1.453 MB / 353.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.02767, allocations: 55.41 kB / 353.3 MB, free: 3.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.02782, allocations: 200.7 kB / 353.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.02784, allocations: 33.7 kB / 353.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.02789, allocations: 139 kB / 353.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.02793, allocations: 35.7 kB / 353.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.02804, allocations: 55.33 kB / 353.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.02816, allocations: 0.4884 MB / 354.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.02866, allocations: 203.9 kB / 354.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.02916, allocations: 199.9 kB / 354.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009888/0.03015, allocations: 339.6 kB / 354.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.03015, allocations: 4 kB / 354.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001092/0.03124, allocations: 437.4 kB / 355.4 MB, free: 1.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.03126, allocations: 7.938 kB / 355.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.03127, allocations: 0 / 355.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.0313, allocations: 0 / 355.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.03176, allocations: 55.95 kB / 355.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.03177, allocations: 0 / 355.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.03211, allocations: 23.97 kB / 355.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.03214, allocations: 11.98 kB / 355.5 MB, free: 1.012 MB / 282.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.0001124/0.03225, allocations: 168.5 kB / 355.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.0323, allocations: 15.89 kB / 355.6 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.03344, allocations: 322.2 kB / 356 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.03344, allocations: 4 kB / 356 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.03345, allocations: 0 / 356 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.03345, allocations: 0 / 356 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.03594, allocations: 0.6797 MB / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.03595, allocations: 4 kB / 356.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.03638, allocations: 51.89 kB / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.03639, allocations: 7.984 kB / 356.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.03642, allocations: 7.984 kB / 356.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.03642, allocations: 4.094 kB / 356.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.03642, allocations: 0 / 356.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.0377, allocations: 446.6 kB / 357.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.03781, allocations: 31.91 kB / 357.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.03785, allocations: 4 kB / 357.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.03824, allocations: 27.97 kB / 357.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.03827, allocations: 11.98 kB / 357.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.0383, allocations: 11.98 kB / 357.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.03842, allocations: 139.2 kB / 357.4 MB, free: 15 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03842, allocations: 4 kB / 357.4 MB, free: 15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006887/0.03911, allocations: 171.6 kB / 357.5 MB, free: 14.83 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.0007816/0.03989, allocations: 274.5 kB / 357.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.04117, allocations: 347.5 kB / 358.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.04118, allocations: 3.938 kB / 358.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.04173, allocations: 135.7 kB / 358.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.04208, allocations: 35.95 kB / 358.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.04451, allocations: 448.4 kB / 358.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.04461, allocations: 83.19 kB / 358.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.04482, allocations: 44.92 kB / 358.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.04499, allocations: 28.47 kB / 358.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.403e-06/0.04499, allocations: 0 / 358.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Templates: time 0.0185/0.06349, allocations: 9.073 MB / 368 MB, free: 4.309 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/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.370216013980098]