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.001411/0.001411, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001502/0.001502, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.596/1.596, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2582/0.2582, allocations: 46.89 MB / 361.1 MB, free: 4.664 MB / 286.1 MB " [Timeout remaining time 179] 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.002403/0.002403, allocations: 87.86 kB / 0.4968 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4012, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002982/0.4042, allocations: 1.487 MB / 0.5626 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.4066, allocations: 1.461 MB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.4067, allocations: 0 / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.4069, allocations: 35.77 kB / 0.5641 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.4071, allocations: 51.5 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.4077, allocations: 219.1 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.4078, allocations: 55.72 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.4078, allocations: 7.922 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.4079, allocations: 27.86 kB / 0.5645 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.408, allocations: 27.86 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.408, allocations: 4 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006505/0.4086, allocations: 339.5 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.4087, allocations: 11.98 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.4087, allocations: 23.81 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.4092, allocations: 278.2 kB / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4092, allocations: 0 / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4092, allocations: 0 / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.4092, allocations: 0 / 0.5651 GB, free: 1.008 MB / 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.0006406/0.4099, allocations: 422.6 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4099, allocations: 12.03 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.4099, allocations: 8.891 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4101, allocations: 178.7 kB / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.4101, allocations: 384 / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.4101, allocations: 8.359 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4103, allocations: 65.81 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4103, allocations: 0 / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4103, allocations: 3.938 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4103, allocations: 3.984 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.4104, allocations: 67.94 kB / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.4107, allocations: 189.5 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.753e-05/0.4108, allocations: 54.5 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.4109, allocations: 36.84 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.4109, allocations: 19.98 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.411, allocations: 34.5 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.411, allocations: 0 / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02062/0.4316, allocations: 1.626 MB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.4316, allocations: 63.41 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4318, allocations: 134 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.4318, allocations: 29.7 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.4319, allocations: 84.12 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.4319, allocations: 47.64 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.4321, allocations: 45.69 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4322, allocations: 318.8 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.4329, allocations: 207.9 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.4336, allocations: 203.8 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.4349, allocations: 384.7 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4349, allocations: 0 / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001483/0.4364, allocations: 456.7 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4364, allocations: 4 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4364, allocations: 0 / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.4364, allocations: 4 kB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.437, allocations: 67.86 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.437, allocations: 0 / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.4374, allocations: 39.97 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.4375, allocations: 11.98 kB / 0.5698 GB, free: 12 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.0001504/0.4376, allocations: 117.8 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.4377, allocations: 11.95 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.4391, allocations: 370 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4391, allocations: 0 / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4391, allocations: 0 / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4391, allocations: 0 / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.4423, allocations: 0.7855 MB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.4423, allocations: 4 kB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.4428, allocations: 64.03 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4428, allocations: 0 / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.4428, allocations: 11.98 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/0.4428, allocations: 4 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4428, allocations: 4.094 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.4442, allocations: 421.8 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.4444, allocations: 109 kB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.4444, allocations: 0 / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.4449, allocations: 47.95 kB / 0.5716 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.445, allocations: 11.92 kB / 0.5716 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.445, allocations: 4 kB / 0.5717 GB, free: 9.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.4451, allocations: 102.4 kB / 0.5717 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4451, allocations: 0 / 0.5717 GB, free: 9.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007019/0.4458, allocations: 175.5 kB / 0.5719 GB, free: 9.66 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.0007139/0.4465, allocations: 250.7 kB / 0.5722 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.4479, allocations: 355.7 kB / 0.5725 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4479, allocations: 0 / 0.5725 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.4485, allocations: 144 kB / 0.5726 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.4489, allocations: 26.16 kB / 0.5727 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.4517, allocations: 0.5105 MB / 0.5732 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.452, allocations: 0.6963 MB / 0.5738 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.4522, allocations: 44.84 kB / 0.5739 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.4524, allocations: 27.41 kB / 0.5739 GB, free: 7.551 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4524, allocations: 0 / 0.5739 GB, free: 7.551 MB / 414.1 MB Notification: Performance of Templates: time 0.01606/0.4684, allocations: 8.598 MB / 0.5823 GB, free: 14.97 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.749871683306992]