Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 103.1 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 189.2 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.385/0.385, allocations: 43.5 MB / 313.6 MB, free: 8.52 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 63.91 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1413, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4751/0.6164, allocations: 188 MB / 0.6133 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009703/0.6262, allocations: 6.114 MB / 0.6192 GB, free: 9.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.6273, allocations: 23.81 kB / 0.6193 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.6285, allocations: 278.5 kB / 0.6195 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00522/0.6337, allocations: 1.799 MB / 0.6213 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.6356, allocations: 0.6565 MB / 0.6219 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.6375, allocations: 1.52 MB / 0.6234 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006141/0.6381, allocations: 420.1 kB / 0.6238 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008956/0.639, allocations: 0.5838 MB / 0.6244 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.6395, allocations: 474.1 kB / 0.6248 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.136e-05/0.6396, allocations: 52 kB / 0.6249 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/0.6429, allocations: 2.028 MB / 0.6269 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.643, allocations: 159.4 kB / 0.627 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.6434, allocations: 350.4 kB / 0.6273 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3217/0.9651, allocations: 1.913 MB / 0.6292 GB, free: 7.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.9652, allocations: 0 / 0.6292 GB, free: 7.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.9652, allocations: 1.531 kB / 0.6292 GB, free: 7.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.9653, allocations: 0 / 0.6292 GB, free: 7.348 MB / 494.1 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.002441/0.9677, allocations: 1.115 MB / 0.6303 GB, free: 6.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.9678, allocations: 9.125 kB / 0.6303 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009988/0.9688, allocations: 137.1 kB / 0.6304 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.9695, allocations: 471.3 kB / 0.6309 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.9695, allocations: 32.81 kB / 0.6309 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.9696, allocations: 40.28 kB / 0.631 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.9708, allocations: 0.5888 MB / 0.6315 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.9709, allocations: 2.344 kB / 0.6315 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.9709, allocations: 22.28 kB / 0.6316 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.971, allocations: 9.969 kB / 0.6316 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009052/0.9719, allocations: 473.8 kB / 0.632 GB, free: 6.422 MB / 494.1 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.003013/0.9749, allocations: 2.672 MB / 0.6346 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.9756, allocations: 342.3 kB / 0.635 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.976, allocations: 168.9 kB / 0.6351 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.9771, allocations: 1.312 MB / 0.6364 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.9774, allocations: 37.97 kB / 0.6364 GB, free: 19.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/0.9774, allocations: 0.9062 kB / 0.6364 GB, free: 19.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002086/0.9795, allocations: 0.6991 MB / 0.6371 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.9796, allocations: 134.3 kB / 0.6373 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.9805, allocations: 470.8 kB / 0.6377 GB, free: 19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.9805, allocations: 32.64 kB / 0.6377 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.9808, allocations: 275.9 kB / 0.638 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.981, allocations: 116.5 kB / 0.6381 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.9812, allocations: 106.7 kB / 0.6382 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002378/0.9814, allocations: 358.8 kB / 0.6385 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.9818, allocations: 146.3 kB / 0.6387 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.9822, allocations: 280.3 kB / 0.639 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/0.9831, allocations: 439.3 kB / 0.6394 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.9831, allocations: 2.438 kB / 0.6394 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001221/0.9843, allocations: 0.5293 MB / 0.6399 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.9843, allocations: 6.094 kB / 0.6399 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9844, allocations: 6.734 kB / 0.6399 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.986, allocations: 241 kB / 0.6401 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.9863, allocations: 100.4 kB / 0.6402 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004761/0.9868, allocations: 0.5965 MB / 0.6408 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.9873, allocations: 64.28 kB / 0.6409 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.9874, allocations: 48.81 kB / 0.6409 GB, free: 17.52 MB / 0.4981 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.0004023/0.9878, allocations: 178.9 kB / 0.6411 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.988, allocations: 52.81 kB / 0.6411 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.9896, allocations: 0.7179 MB / 0.6418 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.9896, allocations: 8.25 kB / 0.6419 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9896, allocations: 0.8125 kB / 0.6419 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.9897, allocations: 5.203 kB / 0.6419 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.9911, allocations: 1.008 MB / 0.6428 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.9911, allocations: 4.734 kB / 0.6428 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.9913, allocations: 48.27 kB / 0.6429 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/0.9945, allocations: 433.8 kB / 0.6433 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.9945, allocations: 13.11 kB / 0.6433 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004552/0.995, allocations: 0.6004 MB / 0.6439 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.995, allocations: 8.812 kB / 0.6439 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.9958, allocations: 0.5043 MB / 0.6444 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.996, allocations: 140.5 kB / 0.6445 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.9961, allocations: 9.281 kB / 0.6446 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.9965, allocations: 36.39 kB / 0.6446 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.9965, allocations: 31.55 kB / 0.6446 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.9966, allocations: 21 kB / 0.6446 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004377/0.997, allocations: 401.3 kB / 0.645 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.997, allocations: 1.781 kB / 0.645 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001023/0.9981, allocations: 365.2 kB / 0.6454 GB, free: 15.87 MB / 0.4981 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.001122/0.9992, allocations: 0.4993 MB / 0.6459 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008848/1, allocations: 385.1 kB / 0.6462 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1, allocations: 2.281 kB / 0.6462 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003262/1, allocations: 164 kB / 0.6464 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/1.002, allocations: 372.6 kB / 0.6467 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/1.003, allocations: 1.064 MB / 0.6478 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/1.004, allocations: 0.8571 MB / 0.6486 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008276/1.005, allocations: 193.4 kB / 0.6488 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/1.005, allocations: 78.91 kB / 0.6489 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/1.005, allocations: 0.9688 kB / 0.6489 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.02966/1.035, allocations: 18.21 MB / 0.6667 GB, free: 12.01 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches