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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002742, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006804/0.0006804, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001729, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9143/0.9143, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2306/1.145, allocations: 52.48 MB / 238.5 MB, free: 7.613 MB / 234.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.1402/0.1402, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02215/0.1623, allocations: 12.53 MB / 284.5 MB, free: 9.707 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.402e-06/1.402e-06, allocations: 0 / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.327e-05, allocations: 8.922 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001824/0.001847, allocations: 1.534 MB / 287.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.00311, allocations: 1.359 MB / 288.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.003142, allocations: 4 kB / 288.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.125e-05/0.003223, allocations: 35.72 kB / 288.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.003326, allocations: 51.62 kB / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.00363, allocations: 199 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.485e-05/0.003725, allocations: 59.66 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.00376, allocations: 4 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.003823, allocations: 35.89 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.00387, allocations: 19.98 kB / 289.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.003881, allocations: 0 / 289.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.004307, allocations: 291.5 kB / 289.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.004327, allocations: 7.938 kB / 289.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.004353, allocations: 15.94 kB / 289.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.004662, allocations: 259.3 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.004674, allocations: 0 / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004675, allocations: 4 kB / 289.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.004685, allocations: 0 / 289.7 MB, free: 4.516 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.0004697/0.005155, allocations: 436.9 kB / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.005191, allocations: 12.03 kB / 290.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.005222, allocations: 4.938 kB / 290.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.005312, allocations: 113.8 kB / 290.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.005322, allocations: 384 / 290.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.005344, allocations: 8.375 kB / 290.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.068e-05/0.005424, allocations: 49 kB / 290.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005434, allocations: 192 / 290.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.005443, allocations: 16.12 kB / 290.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.00545, allocations: 3.938 kB / 290.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.005484, allocations: 15.98 kB / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.005594, allocations: 82.62 kB / 290.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.223e-05/0.005646, allocations: 34.55 kB / 290.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.005669, allocations: 12.86 kB / 290.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.005731, allocations: 23.92 kB / 290.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.005757, allocations: 34.56 kB / 290.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.005758, allocations: 0 / 290.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.007528/0.01329, allocations: 1.53 MB / 292.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.01332, allocations: 55.41 kB / 292.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.0134, allocations: 145.2 kB / 292.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.01342, allocations: 25.7 kB / 292.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.01346, allocations: 95.81 kB / 292.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.0135, allocations: 35.64 kB / 292.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.01356, allocations: 49.59 kB / 292.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.01364, allocations: 318.8 kB / 292.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.01375, allocations: 114.8 kB / 292.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.01384, allocations: 112 kB / 293 MB, free: 1.031 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.01402, allocations: 201.7 kB / 293.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01402, allocations: 3.938 kB / 293.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002271/0.01425, allocations: 243.8 kB / 293.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01426, allocations: 12 kB / 293.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.01427, allocations: 0 / 293.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.01428, allocations: 3.938 kB / 293.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.01454, allocations: 63.91 kB / 293.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.01455, allocations: 3.938 kB / 293.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.01468, allocations: 31.98 kB / 293.6 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01469, allocations: 3.984 kB / 293.6 MB, free: 480 kB / 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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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 7.968e-05/0.01477, allocations: 113.8 kB / 293.7 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.0148, allocations: 11.98 kB / 293.7 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.01504, allocations: 166.3 kB / 293.8 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01505, allocations: 7.969 kB / 293.9 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01505, allocations: 0 / 293.9 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01505, allocations: 3.938 kB / 293.9 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.01582, allocations: 441 kB / 294.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01582, allocations: 0 / 294.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.01603, allocations: 64.02 kB / 294.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.01608, allocations: 15.94 kB / 294.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.01608, allocations: 7.938 kB / 294.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.0161, allocations: 7.984 kB / 294.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.0161, allocations: 4 kB / 294.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0161, allocations: 0 / 294.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.01633, allocations: 272.7 kB / 294.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01636, allocations: 7.938 kB / 294.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.0165, allocations: 27.97 kB / 294.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.01652, allocations: 11.98 kB / 294.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01653, allocations: 3.984 kB / 294.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.19e-05/0.01656, allocations: 16.86 kB / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01656, allocations: 7.938 kB / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.01697, allocations: 167.6 kB / 294.9 MB, free: 15.06 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.0004208/0.01739, allocations: 263.9 kB / 295.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.01766, allocations: 188.4 kB / 295.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.01766, allocations: 0 / 295.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.617e-05/0.01775, allocations: 68.69 kB / 295.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.01795, allocations: 99.52 kB / 295.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.01957, allocations: 398 kB / 295.9 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.0196, allocations: 71.28 kB / 296 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.01973, allocations: 40.7 kB / 296 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.01991, allocations: 71.34 kB / 296.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01991, allocations: 0 / 296.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Templates: time 0.01067/0.03058, allocations: 9.819 MB / 305.9 MB, free: 3.961 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8360863467678428]