Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 226.8 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 113.5 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4336/0.4336, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.0012, allocations: 63.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4227, allocations: 62 MB / 0.5152 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002642/0.4254, allocations: 1.531 MB / 0.5166 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.4273, allocations: 1.48 MB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.4273, allocations: 4 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.4275, allocations: 33.98 kB / 0.5181 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.4277, allocations: 32.61 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.4281, allocations: 162.7 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.4283, allocations: 58.97 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.4283, allocations: 11.06 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.4284, allocations: 23.42 kB / 0.5184 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.4285, allocations: 26.69 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.4285, allocations: 0 / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.4291, allocations: 337 kB / 0.5187 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.4291, allocations: 10.52 kB / 0.5188 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.4291, allocations: 29.11 kB / 0.5188 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.4295, allocations: 279.2 kB / 0.5191 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4296, allocations: 4 kB / 0.5191 GB, free: 35.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4296, allocations: 0 / 0.5191 GB, free: 35.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.4296, allocations: 0 / 0.5191 GB, free: 35.4 MB / 378.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.000505/0.4301, allocations: 418.4 kB / 0.5195 GB, free: 35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4301, allocations: 8.75 kB / 0.5195 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.4302, allocations: 8.781 kB / 0.5195 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.683e-05/0.4303, allocations: 169.8 kB / 0.5196 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4303, allocations: 4.375 kB / 0.5196 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4303, allocations: 4.094 kB / 0.5196 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4305, allocations: 70.91 kB / 0.5197 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4305, allocations: 0 / 0.5197 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4305, allocations: 0 / 0.5197 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4305, allocations: 3.938 kB / 0.5197 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.4306, allocations: 68.72 kB / 0.5198 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.4308, allocations: 188.4 kB / 0.52 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/0.4309, allocations: 52.03 kB / 0.52 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.4309, allocations: 52.58 kB / 0.5201 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-05/0.431, allocations: 15.12 kB / 0.5201 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.431, allocations: 37.92 kB / 0.5201 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.431, allocations: 0 / 0.5201 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.01981/0.4509, allocations: 1.619 MB / 0.5217 GB, free: 34.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.4509, allocations: 57.84 kB / 0.5217 GB, free: 33.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.4511, allocations: 138.4 kB / 0.5219 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.4511, allocations: 29.7 kB / 0.5219 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.4512, allocations: 86.5 kB / 0.522 GB, free: 33.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.4513, allocations: 37.45 kB / 0.522 GB, free: 33.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4514, allocations: 52.94 kB / 0.5221 GB, free: 33.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.4515, allocations: 321.2 kB / 0.5224 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.4521, allocations: 196.4 kB / 0.5226 GB, free: 33.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.4527, allocations: 209 kB / 0.5228 GB, free: 33.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.4538, allocations: 377.3 kB / 0.5231 GB, free: 33.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4539, allocations: 6.812 kB / 0.5231 GB, free: 33.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001313/0.4552, allocations: 452.8 kB / 0.5236 GB, free: 32.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4552, allocations: 8.672 kB / 0.5236 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4552, allocations: 0 / 0.5236 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.4553, allocations: 0 / 0.5236 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.4558, allocations: 74.05 kB / 0.5236 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.4558, allocations: 0 / 0.5236 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.4562, allocations: 39.89 kB / 0.5237 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.4562, allocations: 8.359 kB / 0.5237 GB, free: 32.87 MB / 378.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 0.0001048/0.4563, allocations: 124.9 kB / 0.5238 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.4564, allocations: 9.094 kB / 0.5238 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.4577, allocations: 358.9 kB / 0.5242 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4577, allocations: 2.156 kB / 0.5242 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.4577, allocations: 3.188 kB / 0.5242 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4577, allocations: 0 / 0.5242 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.4604, allocations: 0.7759 MB / 0.5249 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4604, allocations: 4.031 kB / 0.5249 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.4609, allocations: 71.33 kB / 0.525 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4609, allocations: 4.094 kB / 0.525 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.4609, allocations: 8.719 kB / 0.525 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4609, allocations: 0 / 0.525 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4609, allocations: 6.594 kB / 0.525 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.463, allocations: 1.123 MB / 0.5261 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/0.4631, allocations: 115.5 kB / 0.5262 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4631, allocations: 8 kB / 0.5262 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.4635, allocations: 35.75 kB / 0.5263 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.4636, allocations: 13.02 kB / 0.5263 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.4636, allocations: 9.094 kB / 0.5263 GB, free: 31.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.657e-05/0.4637, allocations: 97.78 kB / 0.5264 GB, free: 31.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4637, allocations: 3.938 kB / 0.5264 GB, free: 31.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008504/0.4645, allocations: 172.6 kB / 0.5265 GB, free: 31.04 MB / 378.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.0006831/0.4652, allocations: 254.9 kB / 0.5268 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.4665, allocations: 377 kB / 0.5271 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4665, allocations: 0 / 0.5271 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.4671, allocations: 150.2 kB / 0.5273 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.4676, allocations: 19.44 kB / 0.5273 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.4701, allocations: 0.6657 MB / 0.528 GB, free: 30.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.4703, allocations: 0.6977 MB / 0.5286 GB, free: 29.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002323/0.4706, allocations: 41.45 kB / 0.5287 GB, free: 29.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4707, allocations: 25.78 kB / 0.5287 GB, free: 29.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4708, allocations: 0 / 0.5287 GB, free: 29.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01862/0.4894, allocations: 8.496 MB / 0.537 GB, free: 28.17 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches