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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 250.8 MB, free: 8.793 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2355/0.2355, allocations: 46.89 MB / 351.8 MB, free: 7.316 MB / 286.1 MB 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.002323/0.002323, allocations: 84.09 kB / 496.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3659, allocations: 65.97 MB / 0.5493 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002899/0.3688, allocations: 1.484 MB / 0.5507 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.3709, allocations: 1.453 MB / 0.5521 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.3709, allocations: 4 kB / 0.5521 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.3711, allocations: 31.83 kB / 0.5522 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.3713, allocations: 47.69 kB / 0.5522 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.3718, allocations: 230.1 kB / 0.5524 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3719, allocations: 55.72 kB / 0.5525 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.372, allocations: 4 kB / 0.5525 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.372, allocations: 23.88 kB / 0.5525 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.3721, allocations: 35.83 kB / 0.5526 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.3721, allocations: 0 / 0.5526 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.3727, allocations: 335.6 kB / 0.5529 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.3727, allocations: 11.94 kB / 0.5529 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.3728, allocations: 31.78 kB / 0.5529 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.3732, allocations: 271.9 kB / 0.5532 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3732, allocations: 4 kB / 0.5532 GB, free: 1.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3732, allocations: 4 kB / 0.5532 GB, free: 1.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3732, allocations: 0 / 0.5532 GB, free: 1.52 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.0005961/0.3738, allocations: 426.6 kB / 0.5536 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3738, allocations: 8.031 kB / 0.5536 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3739, allocations: 12.89 kB / 0.5536 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.374, allocations: 168.3 kB / 0.5538 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3741, allocations: 4.312 kB / 0.5538 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.3741, allocations: 4.375 kB / 0.5538 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3742, allocations: 65.8 kB / 0.5538 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3742, allocations: 11.92 kB / 0.5539 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3743, allocations: 8 kB / 0.5539 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3743, allocations: 0 / 0.5539 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.3743, allocations: 51.97 kB / 0.5539 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.3746, allocations: 189.5 kB / 0.5541 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.437e-05/0.3747, allocations: 54.64 kB / 0.5541 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.3747, allocations: 37 kB / 0.5542 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.715e-05/0.3748, allocations: 27.97 kB / 0.5542 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3748, allocations: 34.5 kB / 0.5542 GB, free: 284 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3748, allocations: 0 / 0.5542 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.01937/0.3942, allocations: 1.63 MB / 0.5558 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3942, allocations: 51.41 kB / 0.5559 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3944, allocations: 134.1 kB / 0.556 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3944, allocations: 29.7 kB / 0.556 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.3944, allocations: 88.14 kB / 0.5561 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.3945, allocations: 43.58 kB / 0.5562 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.3946, allocations: 45.69 kB / 0.5562 GB, free: 14.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3947, allocations: 322.8 kB / 0.5565 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.3953, allocations: 199.9 kB / 0.5567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.3959, allocations: 211.2 kB / 0.5569 GB, free: 13.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.3971, allocations: 384.7 kB / 0.5573 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3971, allocations: 0 / 0.5573 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001281/0.3983, allocations: 453.3 kB / 0.5577 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3984, allocations: 8 kB / 0.5577 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3984, allocations: 0 / 0.5577 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3984, allocations: 0 / 0.5577 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.3989, allocations: 63.94 kB / 0.5578 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3989, allocations: 0 / 0.5578 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.3992, allocations: 43.95 kB / 0.5578 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3993, allocations: 15.98 kB / 0.5578 GB, free: 12.51 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.0001266/0.3994, allocations: 125.7 kB / 0.558 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.3994, allocations: 3.953 kB / 0.558 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.4007, allocations: 362.1 kB / 0.5583 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4007, allocations: 7.938 kB / 0.5583 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4007, allocations: 0 / 0.5583 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4007, allocations: 0 / 0.5583 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.4033, allocations: 0.7817 MB / 0.5591 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4033, allocations: 4.094 kB / 0.5591 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.4037, allocations: 67.88 kB / 0.5591 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4037, allocations: 0 / 0.5591 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.4038, allocations: 11.98 kB / 0.5592 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4038, allocations: 4 kB / 0.5592 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4038, allocations: 7.938 kB / 0.5592 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.405, allocations: 413.8 kB / 0.5596 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4051, allocations: 105 kB / 0.5597 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.4051, allocations: 4 kB / 0.5597 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.4055, allocations: 43.95 kB / 0.5597 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.4055, allocations: 11.88 kB / 0.5597 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4056, allocations: 11.98 kB / 0.5597 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.4056, allocations: 106.2 kB / 0.5598 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4056, allocations: 4 kB / 0.5598 GB, free: 10.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005567/0.4062, allocations: 171.6 kB / 0.56 GB, free: 10.17 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.0006225/0.4068, allocations: 246.7 kB / 0.5602 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.408, allocations: 360.1 kB / 0.5606 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.408, allocations: 4 kB / 0.5606 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.4086, allocations: 148 kB / 0.5607 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4089, allocations: 15.56 kB / 0.5607 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.4113, allocations: 0.5105 MB / 0.5612 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.4117, allocations: 0.6962 MB / 0.5619 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.4119, allocations: 40.62 kB / 0.5619 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.412, allocations: 23.42 kB / 0.562 GB, free: 8.074 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.412, allocations: 4 kB / 0.562 GB, free: 8.07 MB / 414.1 MB Notification: Performance of Templates: time 0.01466/0.4267, allocations: 8.589 MB / 0.5704 GB, free: 15.5 MB / 430.1 MB 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] Reference file matches