Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009883/0.0009884, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 229.5 MB / 247.7 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008475/0.0008477, allocations: 105.9 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3459/0.3459, allocations: 44.99 MB / 397 MB, free: 31.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002818, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2952, allocations: 63.09 MB / 0.5214 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4687/0.764, allocations: 178.3 MB / 0.6955 GB, free: 9.152 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.7698, allocations: 5.386 MB / 0.7007 GB, free: 6.922 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000479/0.7703, allocations: 21.66 kB / 0.7008 GB, free: 6.922 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.7711, allocations: 268 kB / 0.701 GB, free: 6.918 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.775, allocations: 1.531 MB / 0.7025 GB, free: 6.848 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.7768, allocations: 0.6519 MB / 0.7032 GB, free: 6.816 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.7791, allocations: 2.012 MB / 0.7051 GB, free: 6.816 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.7797, allocations: 358.2 kB / 0.7055 GB, free: 6.785 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009028/0.7806, allocations: 0.5282 MB / 0.706 GB, free: 6.785 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.7812, allocations: 466.3 kB / 0.7064 GB, free: 6.785 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.7813, allocations: 25.25 kB / 0.7064 GB, free: 6.785 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.7847, allocations: 1.757 MB / 0.7082 GB, free: 6.758 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.7849, allocations: 135.1 kB / 0.7083 GB, free: 6.758 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.7853, allocations: 346.5 kB / 0.7086 GB, free: 6.727 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.7881, allocations: 1.78 MB / 0.7104 GB, free: 6.637 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7882, allocations: 3.938 kB / 0.7104 GB, free: 6.637 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7882, allocations: 0 / 0.7104 GB, free: 6.637 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.7882, allocations: 1 kB / 0.7104 GB, free: 6.637 MB / 490.7 MB 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.001663/0.7899, allocations: 0.9431 MB / 0.7113 GB, free: 6.004 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7899, allocations: 9.219 kB / 0.7113 GB, free: 6.004 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.7908, allocations: 141.5 kB / 0.7114 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.7914, allocations: 466.9 kB / 0.7119 GB, free: 5.711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.7914, allocations: 35.56 kB / 0.7119 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.7915, allocations: 39.38 kB / 0.7119 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.7926, allocations: 0.5925 MB / 0.7125 GB, free: 5.582 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.7926, allocations: 1.031 kB / 0.7125 GB, free: 5.582 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.7927, allocations: 25.3 kB / 0.7125 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.7927, allocations: 14.47 kB / 0.7126 GB, free: 5.574 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009185/0.7937, allocations: 483 kB / 0.713 GB, free: 5.566 MB / 490.7 MB 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.0026/0.7963, allocations: 2.655 MB / 0.7156 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.797, allocations: 338 kB / 0.7159 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.7973, allocations: 176 kB / 0.7161 GB, free: 3.738 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.7977, allocations: 437.7 kB / 0.7165 GB, free: 3.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7978, allocations: 35.84 kB / 0.7166 GB, free: 3.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.988e-06/0.7978, allocations: 0 / 0.7166 GB, free: 3.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001969/0.7998, allocations: 0.7284 MB / 0.7173 GB, free: 19.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.7998, allocations: 136.3 kB / 0.7174 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.8004, allocations: 477.1 kB / 0.7179 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.8005, allocations: 34.42 kB / 0.7179 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.8007, allocations: 270.3 kB / 0.7181 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-05/0.8007, allocations: 121.5 kB / 0.7183 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.8008, allocations: 7.656 kB / 0.7183 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8009, allocations: 367.7 kB / 0.7186 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.8013, allocations: 156.9 kB / 0.7188 GB, free: 18.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.8017, allocations: 280.6 kB / 0.719 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.8024, allocations: 440.9 kB / 0.7195 GB, free: 17.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8024, allocations: 1.094 kB / 0.7195 GB, free: 17.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001054/0.8035, allocations: 0.5419 MB / 0.72 GB, free: 17.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.8035, allocations: 10.69 kB / 0.72 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.8036, allocations: 3.688 kB / 0.72 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.8051, allocations: 284.8 kB / 0.7203 GB, free: 17.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.8055, allocations: 113.1 kB / 0.7204 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004763/0.806, allocations: 0.589 MB / 0.721 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.8065, allocations: 69.31 kB / 0.721 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/0.8066, allocations: 48.64 kB / 0.7211 GB, free: 17.27 MB / 0.4948 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.0002721/0.8069, allocations: 182.3 kB / 0.7212 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.807, allocations: 58.75 kB / 0.7213 GB, free: 17.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.8092, allocations: 1.087 MB / 0.7224 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8092, allocations: 7.969 kB / 0.7224 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8093, allocations: 0 / 0.7224 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.8093, allocations: 3.141 kB / 0.7224 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.8109, allocations: 1.022 MB / 0.7234 GB, free: 16.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8109, allocations: 0 / 0.7234 GB, free: 16.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.8111, allocations: 55.36 kB / 0.7234 GB, free: 16.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.8141, allocations: 0.5326 MB / 0.7239 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.8142, allocations: 17.19 kB / 0.724 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004093/0.8146, allocations: 0.5999 MB / 0.7245 GB, free: 16.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8146, allocations: 4.688 kB / 0.7245 GB, free: 16.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.8153, allocations: 0.5133 MB / 0.725 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.8156, allocations: 163 kB / 0.7252 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.8157, allocations: 11.66 kB / 0.7252 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.816, allocations: 34.59 kB / 0.7252 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.8161, allocations: 32.36 kB / 0.7253 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.8162, allocations: 18.03 kB / 0.7253 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004745/0.8166, allocations: 403.6 kB / 0.7257 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8166, allocations: 0 / 0.7257 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001285/0.8179, allocations: 337.7 kB / 0.726 GB, free: 15.5 MB / 0.4948 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.0009882/0.8189, allocations: 454.9 kB / 0.7264 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007581/0.8197, allocations: 386.3 kB / 0.7268 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8197, allocations: 1.859 kB / 0.7268 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.82, allocations: 172.4 kB / 0.727 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.8217, allocations: 353.4 kB / 0.7273 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.8229, allocations: 1.101 MB / 0.7284 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.8233, allocations: 0.8545 MB / 0.7292 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001175/0.8245, allocations: 0.5596 MB / 0.7298 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.8248, allocations: 89.95 kB / 0.7298 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of SimCode: time 3.01e-07/0.8248, allocations: 0 / 0.7298 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.02573/0.8505, allocations: 16.88 MB / 0.7463 GB, free: 6.965 MB / 0.4948 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches