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.0009358/0.0009358, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004801/0.004801, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 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.9363/0.9363, allocations: 177.1 MB / 205 MB, free: 5.711 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.2757/0.2757, allocations: 32.79 MB / 294.2 MB, free: 1.207 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.993e-06/1.993e-06, allocations: 0 / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.751e-05/3.95e-05, allocations: 8.328 kB / 440.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002239/0.002278, allocations: 1.45 MB / 442.3 MB, free: 2.277 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.003822, allocations: 1.292 MB / 443.6 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.00387, allocations: 4 kB / 443.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.004059, allocations: 27.78 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.004288, allocations: 51.62 kB / 443.7 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.004675, allocations: 223 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.0048, allocations: 59.66 kB / 443.9 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.004854, allocations: 7.984 kB / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.004933, allocations: 35.89 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.004997, allocations: 11.98 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.005012, allocations: 4 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.005484, allocations: 283.5 kB / 444.3 MB, free: 288 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.005501, allocations: 7.938 kB / 444.3 MB, free: 280 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.005529, allocations: 12 kB / 444.3 MB, free: 268 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2347/0.2402, allocations: 304.2 kB / 444.6 MB, free: 44.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2402, allocations: 0 / 444.6 MB, free: 44.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2402, allocations: 2.969 kB / 444.6 MB, free: 44.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2402, allocations: 0 / 444.6 MB, free: 44.18 MB / 410.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.0005192/0.2407, allocations: 342.9 kB / 444.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.2408, allocations: 8.594 kB / 444.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.2408, allocations: 9.266 kB / 445 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.643e-05/0.2409, allocations: 120.2 kB / 445.1 MB, free: 43.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2409, allocations: 3.281 kB / 445.1 MB, free: 43.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.2409, allocations: 4.781 kB / 445.1 MB, free: 43.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.241, allocations: 73.62 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2411, allocations: 192 / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2411, allocations: 1.062 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2411, allocations: 6.656 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.2412, allocations: 60.27 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.2413, allocations: 129.6 kB / 445.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.2414, allocations: 54.47 kB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.2414, allocations: 39.98 kB / 445.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.2415, allocations: 22.56 kB / 445.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.2415, allocations: 36.33 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 7.22e-07/0.2415, allocations: 0 / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.008605/0.2501, allocations: 1.632 MB / 447.1 MB, free: 43.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2501, allocations: 57.03 kB / 447.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.2502, allocations: 138.9 kB / 447.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2502, allocations: 25.7 kB / 447.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.2503, allocations: 103.1 kB / 447.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.2503, allocations: 29.67 kB / 447.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.2504, allocations: 51.34 kB / 447.5 MB, free: 43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.2504, allocations: 320.8 kB / 447.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.2507, allocations: 206.8 kB / 448 MB, free: 42.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.251, allocations: 208 kB / 448.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.2516, allocations: 395.6 kB / 448.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2516, allocations: 0 / 448.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006853/0.2523, allocations: 459 kB / 449.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2523, allocations: 10.72 kB / 449.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2523, allocations: 0 / 449.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2523, allocations: 0 / 449.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.2526, allocations: 66.95 kB / 449.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2526, allocations: 1.797 kB / 449.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2528, allocations: 39.91 kB / 449.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2528, allocations: 9.781 kB / 449.2 MB, free: 42.61 MB / 410.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 8.043e-05/0.2529, allocations: 120.8 kB / 449.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.2529, allocations: 6.922 kB / 449.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000722/0.2536, allocations: 366.4 kB / 449.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2536, allocations: 6.125 kB / 449.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2536, allocations: 0 / 449.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2536, allocations: 3.469 kB / 449.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.255, allocations: 0.7009 MB / 450.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.255, allocations: 0 / 450.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.2552, allocations: 66.16 kB / 450.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2552, allocations: 0 / 450.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.2552, allocations: 12.84 kB / 450.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2552, allocations: 2.812 kB / 450.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2552, allocations: 6.891 kB / 450.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.2558, allocations: 425.9 kB / 450.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.2559, allocations: 27.69 kB / 450.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2559, allocations: 10.17 kB / 450.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2561, allocations: 33.56 kB / 451 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.2561, allocations: 15.61 kB / 451 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2561, allocations: 9.297 kB / 451 MB, free: 41.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.212e-05/0.2562, allocations: 97.98 kB / 451.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2562, allocations: 2.938 kB / 451.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004728/0.2566, allocations: 174.3 kB / 451.3 MB, free: 41.71 MB / 410.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.0005008/0.2571, allocations: 270.2 kB / 451.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006942/0.2578, allocations: 363.8 kB / 451.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2578, allocations: 4 kB / 451.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.2581, allocations: 141.5 kB / 452 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2585, allocations: 17.48 kB / 452 MB, free: 41.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2598, allocations: 0.5116 MB / 452.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.2598, allocations: 77.03 kB / 452.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.2599, allocations: 27.42 kB / 452.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.2599, allocations: 0 / 452.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of Templates: time 0.004779/0.2647, allocations: 4.671 MB / 457.3 MB, free: 40.79 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.9941745372489095]