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.0009619/0.000962, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 75.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3395, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2056/0.5452, allocations: 186 MB / 0.7126 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00567/0.5509, allocations: 3.674 MB / 0.7162 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005321/0.5514, allocations: 15.88 kB / 0.7162 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.5523, allocations: 313.9 kB / 0.7165 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.5562, allocations: 1.726 MB / 0.7182 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.558, allocations: 0.7081 MB / 0.7189 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3147/0.8727, allocations: 1.522 MB / 0.7204 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008451/0.8736, allocations: 425.7 kB / 0.7208 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.8749, allocations: 0.586 MB / 0.7214 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006363/0.8756, allocations: 452.5 kB / 0.7218 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.8757, allocations: 50.06 kB / 0.7218 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003519/0.8792, allocations: 1.93 MB / 0.7237 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.8794, allocations: 157.5 kB / 0.7239 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005197/0.8799, allocations: 343.3 kB / 0.7242 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.883, allocations: 1.822 MB / 0.726 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.883, allocations: 0 / 0.726 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8831, allocations: 0.9375 kB / 0.726 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.8831, allocations: 0.7812 kB / 0.726 GB, free: 3.488 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.002019/0.8851, allocations: 1.08 MB / 0.727 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8852, allocations: 9.969 kB / 0.727 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009565/0.8861, allocations: 140.8 kB / 0.7272 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.8868, allocations: 482.5 kB / 0.7276 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.8869, allocations: 35.12 kB / 0.7277 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.8869, allocations: 43.06 kB / 0.7277 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/0.8879, allocations: 0.5839 MB / 0.7283 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.8879, allocations: 3.562 kB / 0.7283 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/0.888, allocations: 25.34 kB / 0.7283 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.888, allocations: 12.2 kB / 0.7283 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.8888, allocations: 466 kB / 0.7288 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.002482/0.8913, allocations: 2.647 MB / 0.7313 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.8919, allocations: 353.2 kB / 0.7317 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.8922, allocations: 169.1 kB / 0.7318 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/0.8926, allocations: 438.2 kB / 0.7323 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.8926, allocations: 37.78 kB / 0.7323 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.422e-06/0.8926, allocations: 1.031 kB / 0.7323 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001525/0.8942, allocations: 0.7168 MB / 0.733 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.8943, allocations: 131.3 kB / 0.7331 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.8947, allocations: 462.4 kB / 0.7336 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.8948, allocations: 34.89 kB / 0.7336 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.8949, allocations: 279.3 kB / 0.7339 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.895, allocations: 113.7 kB / 0.734 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.8952, allocations: 105.4 kB / 0.7341 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8953, allocations: 360.2 kB / 0.7344 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.8956, allocations: 146.6 kB / 0.7346 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.8959, allocations: 282.8 kB / 0.7348 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.8966, allocations: 438.3 kB / 0.7352 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8966, allocations: 2.781 kB / 0.7352 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008852/0.8975, allocations: 0.5327 MB / 0.7358 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.8975, allocations: 7.375 kB / 0.7358 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8975, allocations: 3.406 kB / 0.7358 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.8989, allocations: 239.2 kB / 0.736 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.8993, allocations: 102.6 kB / 0.7361 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004182/0.8997, allocations: 0.5942 MB / 0.7367 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.9001, allocations: 49.05 kB / 0.7367 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.9002, allocations: 45.22 kB / 0.7368 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.0002449/0.9004, allocations: 190.1 kB / 0.737 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.9005, allocations: 54.78 kB / 0.737 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.9021, allocations: 1.079 MB / 0.7381 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.9022, allocations: 7.781 kB / 0.7381 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.9022, allocations: 2.953 kB / 0.7381 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9022, allocations: 0.8125 kB / 0.7381 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.9035, allocations: 1.012 MB / 0.7391 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.9035, allocations: 2.141 kB / 0.7391 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.9037, allocations: 55.27 kB / 0.7391 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/0.9066, allocations: 427.3 kB / 0.7395 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.9066, allocations: 13.06 kB / 0.7395 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003863/0.907, allocations: 0.6 MB / 0.7401 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.907, allocations: 7.469 kB / 0.7401 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.9077, allocations: 0.5052 MB / 0.7406 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.9079, allocations: 133.7 kB / 0.7407 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.974e-05/0.908, allocations: 16.75 kB / 0.7408 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.9083, allocations: 13.88 kB / 0.7408 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.9084, allocations: 30.69 kB / 0.7408 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.9084, allocations: 22.16 kB / 0.7408 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004116/0.9088, allocations: 401.8 kB / 0.7412 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9088, allocations: 0 / 0.7412 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001034/0.9099, allocations: 341.4 kB / 0.7415 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.0009645/0.9109, allocations: 453.3 kB / 0.742 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.9116, allocations: 377.4 kB / 0.7423 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9116, allocations: 1.203 kB / 0.7423 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.9119, allocations: 164.2 kB / 0.7425 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.001605/0.9136, allocations: 360.9 kB / 0.7428 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.9149, allocations: 0.8738 MB / 0.7437 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.9153, allocations: 0.8533 MB / 0.7445 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008667/0.9162, allocations: 0.5519 MB / 0.7451 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.9164, allocations: 90.88 kB / 0.7451 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.9164, allocations: 0 / 0.7451 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.02496/0.9414, allocations: 17.6 MB / 0.7623 GB, free: 8.68 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