Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 214.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 75.81 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3927, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2142/0.6069, allocations: 186 MB / 0.7133 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006591/0.6135, allocations: 3.662 MB / 0.7168 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.6144, allocations: 19.88 kB / 0.7169 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.6155, allocations: 313.9 kB / 0.7172 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.6204, allocations: 1.739 MB / 0.7189 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.6225, allocations: 0.7157 MB / 0.7196 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3741/0.9966, allocations: 1.528 MB / 0.7211 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009136/0.9976, allocations: 420.9 kB / 0.7215 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.999, allocations: 0.5972 MB / 0.722 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007411/0.9998, allocations: 454.6 kB / 0.7225 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.9999, allocations: 49.81 kB / 0.7225 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/1.004, allocations: 1.932 MB / 0.7244 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/1.004, allocations: 164 kB / 0.7246 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005501/1.005, allocations: 338.5 kB / 0.7249 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003369/1.008, allocations: 1.824 MB / 0.7267 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.008, allocations: 0 / 0.7267 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.534e-06/1.008, allocations: 0.6875 kB / 0.7267 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.656e-05/1.008, allocations: 1.922 kB / 0.7267 GB, free: 3.492 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002068/1.01, allocations: 1.08 MB / 0.7277 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.01, allocations: 11.17 kB / 0.7277 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/1.011, allocations: 138 kB / 0.7279 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/1.012, allocations: 488.4 kB / 0.7283 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/1.012, allocations: 30.53 kB / 0.7284 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/1.012, allocations: 39.16 kB / 0.7284 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/1.013, allocations: 0.5901 MB / 0.729 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.013, allocations: 4.531 kB / 0.729 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/1.014, allocations: 20.48 kB / 0.729 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.014, allocations: 9.531 kB / 0.729 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/1.014, allocations: 476.4 kB / 0.7295 GB, free: 18.46 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/1.017, allocations: 2.645 MB / 0.732 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/1.018, allocations: 345.1 kB / 0.7324 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/1.018, allocations: 172.3 kB / 0.7325 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/1.019, allocations: 434.9 kB / 0.733 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.019, allocations: 45 kB / 0.733 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/1.019, allocations: 3.984 kB / 0.733 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.00161/1.02, allocations: 0.711 MB / 0.7337 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/1.02, allocations: 135.3 kB / 0.7338 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/1.021, allocations: 463.5 kB / 0.7343 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/1.021, allocations: 35.48 kB / 0.7343 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/1.021, allocations: 273.7 kB / 0.7346 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/1.021, allocations: 115.5 kB / 0.7347 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/1.021, allocations: 105.7 kB / 0.7348 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.021, allocations: 356 kB / 0.7351 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/1.022, allocations: 148.2 kB / 0.7353 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/1.022, allocations: 280.8 kB / 0.7355 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/1.023, allocations: 441.3 kB / 0.7359 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.023, allocations: 2.844 kB / 0.7359 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009265/1.024, allocations: 0.5369 MB / 0.7365 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.024, allocations: 6.438 kB / 0.7365 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.024, allocations: 4.938 kB / 0.7365 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/1.025, allocations: 239 kB / 0.7367 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/1.025, allocations: 102.8 kB / 0.7368 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004642/1.026, allocations: 0.5929 MB / 0.7374 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/1.026, allocations: 52.55 kB / 0.7374 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/1.026, allocations: 43.75 kB / 0.7375 GB, free: 14.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002674/1.027, allocations: 181.8 kB / 0.7376 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.027, allocations: 54.44 kB / 0.7377 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/1.029, allocations: 1.083 MB / 0.7388 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.029, allocations: 9.875 kB / 0.7388 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.029, allocations: 0 / 0.7388 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.029, allocations: 3.75 kB / 0.7388 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/1.03, allocations: 1.012 MB / 0.7398 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.03, allocations: 4 kB / 0.7398 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/1.03, allocations: 60.38 kB / 0.7398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/1.033, allocations: 430.7 kB / 0.7402 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/1.033, allocations: 13.28 kB / 0.7402 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004198/1.033, allocations: 0.5944 MB / 0.7408 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.034, allocations: 7.031 kB / 0.7408 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/1.034, allocations: 0.5053 MB / 0.7413 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/1.034, allocations: 133.5 kB / 0.7415 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/1.035, allocations: 17.05 kB / 0.7415 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/1.035, allocations: 17.47 kB / 0.7415 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/1.035, allocations: 27.47 kB / 0.7415 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/1.035, allocations: 17.64 kB / 0.7415 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000437/1.035, allocations: 400.2 kB / 0.7419 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/1.035, allocations: 2.141 kB / 0.7419 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00108/1.036, allocations: 339.1 kB / 0.7422 GB, free: 12.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/1.038, allocations: 441.7 kB / 0.7427 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008063/1.038, allocations: 375.1 kB / 0.743 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.038, allocations: 0.9062 kB / 0.743 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/1.039, allocations: 171.7 kB / 0.7432 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.04, allocations: 359.5 kB / 0.7435 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.042, allocations: 0.9124 MB / 0.7444 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/1.042, allocations: 0.853 MB / 0.7452 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/1.042, allocations: 127.4 kB / 0.7454 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/1.042, allocations: 0 / 0.7454 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.02173/1.064, allocations: 15.42 MB / 0.7604 GB, free: 9.676 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches