Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.3 MB / 258 MB, free: 8.184 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2421/0.2421, allocations: 46.94 MB / 361.4 MB, free: 4.371 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 75.88 kB / 0.4972 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3803, allocations: 66.05 MB / 0.5617 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002818/0.3831, allocations: 1.474 MB / 0.5631 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3853, allocations: 1.461 MB / 0.5645 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.3854, allocations: 4 kB / 0.5645 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.3855, allocations: 35.77 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.3858, allocations: 51.5 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.3863, allocations: 223.1 kB / 0.5648 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3864, allocations: 59.7 kB / 0.5649 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.3865, allocations: 4 kB / 0.5649 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.841e-05/0.3865, allocations: 31.8 kB / 0.5649 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.3866, allocations: 23.86 kB / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3866, allocations: 4 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.3872, allocations: 339.6 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3873, allocations: 3.938 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.3873, allocations: 27.81 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.3877, allocations: 277.9 kB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3877, allocations: 4 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3877, allocations: 3.938 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3878, allocations: 0 / 0.5656 GB, free: 472 kB / 398.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.000567/0.3883, allocations: 345.5 kB / 0.5659 GB, free: 96 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3884, allocations: 12.03 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.3884, allocations: 4.891 kB / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3886, allocations: 126.4 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3886, allocations: 384 / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.3886, allocations: 4.375 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3888, allocations: 73.8 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3888, allocations: 0 / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3888, allocations: 4 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3888, allocations: 0 / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3889, allocations: 63.94 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.3891, allocations: 160.6 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3892, allocations: 54.5 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.3893, allocations: 40.84 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.3893, allocations: 23.98 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3894, allocations: 34.5 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.3894, allocations: 0 / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01971/0.4091, allocations: 1.634 MB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4091, allocations: 55.34 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.4093, allocations: 134.1 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.4093, allocations: 25.7 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.4094, allocations: 92.12 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.4094, allocations: 43.64 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.4095, allocations: 45.69 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4097, allocations: 322.8 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.4103, allocations: 207.9 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.4109, allocations: 211.3 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4122, allocations: 396.7 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4122, allocations: 0 / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001363/0.4135, allocations: 457.4 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4136, allocations: 6.5 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4136, allocations: 4 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4136, allocations: 0 / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.4141, allocations: 71.86 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4141, allocations: 0 / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.4145, allocations: 39.97 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.4145, allocations: 7.984 kB / 0.5701 GB, free: 11.62 MB / 414.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.0001252/0.4147, allocations: 117.8 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.4147, allocations: 7.953 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.4161, allocations: 373.9 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4161, allocations: 0 / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4161, allocations: 0 / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4161, allocations: 4 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.4189, allocations: 0.7613 MB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4189, allocations: 0 / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.4194, allocations: 59.94 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.4194, allocations: 4 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.4194, allocations: 16.05 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4194, allocations: 0 / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4194, allocations: 3.938 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.4207, allocations: 421.8 kB / 0.5718 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.4208, allocations: 31.91 kB / 0.5718 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.4208, allocations: 0 / 0.5718 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.4212, allocations: 47.95 kB / 0.5719 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.4213, allocations: 11.92 kB / 0.5719 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.4213, allocations: 4 kB / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.098e-05/0.4214, allocations: 114 kB / 0.572 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4214, allocations: 0 / 0.572 GB, free: 9.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005713/0.4219, allocations: 167.6 kB / 0.5722 GB, free: 9.398 MB / 414.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.0006441/0.4226, allocations: 242.7 kB / 0.5724 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.4239, allocations: 363.7 kB / 0.5727 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4239, allocations: 4 kB / 0.5728 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.4245, allocations: 148 kB / 0.5729 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.4248, allocations: 20.27 kB / 0.5729 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.4273, allocations: 0.5113 MB / 0.5734 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.4277, allocations: 0.6929 MB / 0.5741 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.4279, allocations: 44.62 kB / 0.5741 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.428, allocations: 31.41 kB / 0.5742 GB, free: 7.285 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.428, allocations: 0 / 0.5742 GB, free: 7.285 MB / 414.1 MB Notification: Performance of Templates: time 0.01462/0.4426, allocations: 8.625 MB / 0.5826 GB, free: 14.68 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.4006487140432]