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.001648/0.001648, allocations: 104.2 kB / 16.27 MB, free: 5.93 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.001923/0.001923, allocations: 192.2 kB / 17.2 MB, free: 5.574 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.556/1.556, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2137/0.2137, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001375/0.001375, allocations: 69.17 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5244/0.6306, allocations: 190 MB / 0.6157 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.6411, allocations: 6.055 MB / 0.6216 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.6426, allocations: 17.62 kB / 0.6217 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.6439, allocations: 327.2 kB / 0.622 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006492/0.6504, allocations: 1.943 MB / 0.6239 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.6529, allocations: 0.7069 MB / 0.6246 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003143/0.656, allocations: 1.531 MB / 0.6261 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007972/0.6569, allocations: 427.3 kB / 0.6265 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.658, allocations: 0.5711 MB / 0.627 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.6586, allocations: 458.1 kB / 0.6275 GB, free: 9.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.6587, allocations: 52 kB / 0.6275 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/0.6635, allocations: 2.005 MB / 0.6295 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.6638, allocations: 159.5 kB / 0.6296 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005633/0.6644, allocations: 346.5 kB / 0.63 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00412/0.6685, allocations: 1.913 MB / 0.6318 GB, free: 4.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.6685, allocations: 0 / 0.6318 GB, free: 4.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6685, allocations: 0 / 0.6318 GB, free: 4.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.6686, allocations: 0 / 0.6318 GB, free: 4.852 MB / 446.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.002528/0.6711, allocations: 1.11 MB / 0.6329 GB, free: 3.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.6711, allocations: 16.03 kB / 0.6329 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6722, allocations: 143.2 kB / 0.6331 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.6728, allocations: 456.6 kB / 0.6335 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.6729, allocations: 33.69 kB / 0.6335 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.673, allocations: 44 kB / 0.6336 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.674, allocations: 0.5906 MB / 0.6341 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.6741, allocations: 0 / 0.6341 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.6741, allocations: 27.94 kB / 0.6342 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.6742, allocations: 12 kB / 0.6342 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009053/0.6751, allocations: 471.6 kB / 0.6346 GB, free: 1.844 MB / 446.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.003149/0.6782, allocations: 2.682 MB / 0.6372 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.679, allocations: 339.4 kB / 0.6376 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.6793, allocations: 169.3 kB / 0.6377 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.6808, allocations: 1.301 MB / 0.639 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.6808, allocations: 37.09 kB / 0.639 GB, free: 12.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.6809, allocations: 4 kB / 0.639 GB, free: 12.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001759/0.6826, allocations: 0.7064 MB / 0.6397 GB, free: 12.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.6827, allocations: 136.5 kB / 0.6399 GB, free: 11.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.6833, allocations: 469.9 kB / 0.6403 GB, free: 11.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.6833, allocations: 33.7 kB / 0.6403 GB, free: 11.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.6835, allocations: 279.8 kB / 0.6406 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.6837, allocations: 110.4 kB / 0.6407 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.6838, allocations: 106 kB / 0.6408 GB, free: 10.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.684, allocations: 362.8 kB / 0.6412 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.6843, allocations: 140.8 kB / 0.6413 GB, free: 10.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.6847, allocations: 283.7 kB / 0.6416 GB, free: 10.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.6855, allocations: 433.6 kB / 0.642 GB, free: 9.664 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6855, allocations: 0 / 0.642 GB, free: 9.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001072/0.6866, allocations: 0.5287 MB / 0.6425 GB, free: 9.125 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.6866, allocations: 8.875 kB / 0.6425 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6866, allocations: 4 kB / 0.6425 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.6882, allocations: 241 kB / 0.6427 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.6886, allocations: 103.8 kB / 0.6428 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005034/0.6891, allocations: 0.5913 MB / 0.6434 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.6895, allocations: 47.52 kB / 0.6435 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/0.6896, allocations: 51.92 kB / 0.6435 GB, free: 8.059 MB / 462.1 MB 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.0003199/0.6899, allocations: 189.7 kB / 0.6437 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.6901, allocations: 55.42 kB / 0.6437 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.6917, allocations: 0.7094 MB / 0.6444 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6917, allocations: 4 kB / 0.6444 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6917, allocations: 0 / 0.6444 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6917, allocations: 0 / 0.6444 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.6933, allocations: 1.016 MB / 0.6454 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6933, allocations: 4 kB / 0.6454 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.6935, allocations: 47.91 kB / 0.6455 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/0.6967, allocations: 448.3 kB / 0.6459 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.6968, allocations: 12 kB / 0.6459 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000456/0.6972, allocations: 0.5992 MB / 0.6465 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6972, allocations: 0 / 0.6465 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008747/0.6981, allocations: 0.5121 MB / 0.647 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.6983, allocations: 132.4 kB / 0.6471 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.6984, allocations: 19.84 kB / 0.6472 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.6988, allocations: 19.92 kB / 0.6472 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.6988, allocations: 27.91 kB / 0.6472 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.6989, allocations: 19.98 kB / 0.6472 GB, free: 4.074 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004808/0.6994, allocations: 398.8 kB / 0.6476 GB, free: 3.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6994, allocations: 0 / 0.6476 GB, free: 3.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001029/0.7004, allocations: 367.7 kB / 0.6479 GB, free: 3.328 MB / 462.1 MB 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.001301/0.7017, allocations: 0.5008 MB / 0.6484 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009076/0.7026, allocations: 396.9 kB / 0.6488 GB, free: 2.441 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7027, allocations: 0 / 0.6488 GB, free: 2.441 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.703, allocations: 163.8 kB / 0.649 GB, free: 2.281 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.7047, allocations: 377.5 kB / 0.6493 GB, free: 1.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.7061, allocations: 0.8815 MB / 0.6502 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.7066, allocations: 0.8596 MB / 0.651 GB, free: 104 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008822/0.7075, allocations: 205 kB / 0.6512 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.7077, allocations: 75.42 kB / 0.6513 GB, free: 15.83 MB / 478.1 MB Notification: Performance of SimCode: time 2.11e-07/0.7077, allocations: 0 / 0.6513 GB, free: 15.83 MB / 478.1 MB Notification: Performance of Templates: time 0.03343/0.7412, allocations: 18.32 MB / 0.6692 GB, free: 13.55 MB / 494.1 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches