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.001642/0.001642, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002215, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4177, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2284/0.6461, allocations: 186 MB / 0.7126 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006091/0.6523, allocations: 3.659 MB / 0.7162 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006065/0.6529, allocations: 15.88 kB / 0.7162 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.6538, allocations: 317.8 kB / 0.7165 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.658, allocations: 1.738 MB / 0.7182 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.6599, allocations: 0.7194 MB / 0.7189 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3249/0.9848, allocations: 1.52 MB / 0.7204 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008046/0.9857, allocations: 425.9 kB / 0.7208 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.9872, allocations: 0.5909 MB / 0.7214 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.9879, allocations: 456.7 kB / 0.7218 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.988, allocations: 50.19 kB / 0.7219 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.9914, allocations: 1.927 MB / 0.7237 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.9916, allocations: 157.5 kB / 0.7239 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.9924, allocations: 340.9 kB / 0.7242 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.9957, allocations: 1.823 MB / 0.726 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.9957, allocations: 0.5625 kB / 0.726 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9957, allocations: 0.9375 kB / 0.726 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.9958, allocations: 1.031 kB / 0.726 GB, free: 3.508 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.002136/0.9979, allocations: 1.087 MB / 0.7271 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.9979, allocations: 9.672 kB / 0.7271 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.999, allocations: 135.2 kB / 0.7272 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/0.9998, allocations: 488.7 kB / 0.7277 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.9998, allocations: 35.84 kB / 0.7277 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.9999, allocations: 42.77 kB / 0.7277 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/1.001, allocations: 0.5878 MB / 0.7283 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.001, allocations: 4.125 kB / 0.7283 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/1.001, allocations: 22.38 kB / 0.7283 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/1.001, allocations: 11.62 kB / 0.7283 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/1.002, allocations: 466.7 kB / 0.7288 GB, free: 18.48 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.002675/1.005, allocations: 2.645 MB / 0.7314 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/1.005, allocations: 348.4 kB / 0.7317 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/1.006, allocations: 178.2 kB / 0.7319 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003642/1.006, allocations: 429.4 kB / 0.7323 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.006, allocations: 41.33 kB / 0.7323 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.003e-06/1.006, allocations: 2.047 kB / 0.7323 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001596/1.008, allocations: 0.7164 MB / 0.733 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/1.008, allocations: 132 kB / 0.7332 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/1.008, allocations: 464.9 kB / 0.7336 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/1.008, allocations: 31.33 kB / 0.7336 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/1.008, allocations: 285.2 kB / 0.7339 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.486e-05/1.008, allocations: 109.4 kB / 0.734 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/1.009, allocations: 107.3 kB / 0.7341 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.009, allocations: 360.5 kB / 0.7345 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/1.009, allocations: 144.3 kB / 0.7346 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/1.009, allocations: 282 kB / 0.7349 GB, free: 15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/1.01, allocations: 438.7 kB / 0.7353 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.01, allocations: 3.594 kB / 0.7353 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008968/1.011, allocations: 0.5351 MB / 0.7358 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.011, allocations: 11.59 kB / 0.7358 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.011, allocations: 2.719 kB / 0.7358 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/1.012, allocations: 236 kB / 0.736 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/1.013, allocations: 107.6 kB / 0.7361 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004544/1.013, allocations: 0.593 MB / 0.7367 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/1.014, allocations: 50.28 kB / 0.7368 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/1.014, allocations: 44.31 kB / 0.7368 GB, free: 14.25 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.0002208/1.014, allocations: 174.8 kB / 0.737 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.014, allocations: 54 kB / 0.737 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/1.016, allocations: 1.085 MB / 0.7381 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.016, allocations: 8.125 kB / 0.7381 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.016, allocations: 2.125 kB / 0.7381 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/1.016, allocations: 3.484 kB / 0.7381 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/1.017, allocations: 1.007 MB / 0.7391 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.017, allocations: 6.812 kB / 0.7391 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/1.017, allocations: 48.34 kB / 0.7391 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/1.02, allocations: 432.7 kB / 0.7396 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/1.02, allocations: 12.23 kB / 0.7396 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004201/1.021, allocations: 0.6019 MB / 0.7402 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.021, allocations: 7.156 kB / 0.7402 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/1.022, allocations: 0.5064 MB / 0.7407 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/1.022, allocations: 134.2 kB / 0.7408 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/1.022, allocations: 12.5 kB / 0.7408 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/1.022, allocations: 18.62 kB / 0.7408 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/1.022, allocations: 33.05 kB / 0.7408 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/1.022, allocations: 17.47 kB / 0.7409 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004826/1.023, allocations: 401.5 kB / 0.7412 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.022e-06/1.023, allocations: 0 / 0.7412 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001164/1.024, allocations: 339.8 kB / 0.7416 GB, free: 12.56 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.001016/1.025, allocations: 446 kB / 0.742 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008109/1.026, allocations: 377.1 kB / 0.7424 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.026, allocations: 0.9688 kB / 0.7424 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/1.026, allocations: 166.6 kB / 0.7425 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.028, allocations: 361.4 kB / 0.7429 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/1.029, allocations: 0.8738 MB / 0.7437 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/1.03, allocations: 0.8564 MB / 0.7445 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009395/1.031, allocations: 0.5568 MB / 0.7451 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/1.031, allocations: 92.12 kB / 0.7452 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/1.031, allocations: 1.125 kB / 0.7452 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.02708/1.058, allocations: 17.6 MB / 0.7624 GB, free: 8.688 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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