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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.002186/0.002186, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 226.7 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 107.1 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.349/0.349, allocations: 44.82 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3289, allocations: 62.03 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4577/0.7867, allocations: 181.1 MB / 0.692 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005458/0.7922, allocations: 3.797 MB / 0.6957 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.7929, allocations: 24.34 kB / 0.6957 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008734/0.7938, allocations: 274 kB / 0.696 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.7978, allocations: 1.53 MB / 0.6975 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.7995, allocations: 0.6473 MB / 0.6981 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.8017, allocations: 2.036 MB / 0.7001 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.8023, allocations: 356.1 kB / 0.7004 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009654/0.8032, allocations: 0.5222 MB / 0.701 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.8039, allocations: 473.7 kB / 0.7014 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.215e-05/0.804, allocations: 33.16 kB / 0.7014 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003941/0.8079, allocations: 1.837 MB / 0.7032 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.8082, allocations: 140.8 kB / 0.7034 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006463/0.8089, allocations: 325.1 kB / 0.7037 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004118/0.813, allocations: 1.796 MB / 0.7054 GB, free: 1.414 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8131, allocations: 0.9062 kB / 0.7054 GB, free: 1.414 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.8131, allocations: 0 / 0.7054 GB, free: 1.414 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.8131, allocations: 4 kB / 0.7054 GB, free: 1.41 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.002497/0.8156, allocations: 1.085 MB / 0.7065 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.8157, allocations: 9.188 kB / 0.7065 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/0.8167, allocations: 143.7 kB / 0.7066 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/0.8174, allocations: 462.9 kB / 0.7071 GB, free: 16.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.8175, allocations: 36.66 kB / 0.7071 GB, free: 16.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.8176, allocations: 39.69 kB / 0.7072 GB, free: 16.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.8187, allocations: 0.5886 MB / 0.7077 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.8188, allocations: 0.875 kB / 0.7077 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.8188, allocations: 20.97 kB / 0.7078 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.8189, allocations: 10.98 kB / 0.7078 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.8199, allocations: 476 kB / 0.7082 GB, free: 16.33 MB / 0.4948 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.00337/0.8233, allocations: 2.645 MB / 0.7108 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.824, allocations: 342.8 kB / 0.7111 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.8244, allocations: 171.4 kB / 0.7113 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/0.8249, allocations: 438.1 kB / 0.7117 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.8249, allocations: 37.72 kB / 0.7117 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.8249, allocations: 0 / 0.7117 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001767/0.8267, allocations: 0.7182 MB / 0.7124 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.8268, allocations: 134.8 kB / 0.7126 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.8274, allocations: 466.5 kB / 0.713 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.8274, allocations: 31.36 kB / 0.713 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.8276, allocations: 278.3 kB / 0.7133 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.8277, allocations: 122.8 kB / 0.7134 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.8279, allocations: 99.38 kB / 0.7135 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8281, allocations: 368.6 kB / 0.7139 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.8284, allocations: 146.2 kB / 0.714 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.8288, allocations: 276.2 kB / 0.7143 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/0.8295, allocations: 434.5 kB / 0.7147 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.8296, allocations: 0.5625 kB / 0.7147 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00129/0.8309, allocations: 0.5439 MB / 0.7152 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.8309, allocations: 10.36 kB / 0.7152 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.8309, allocations: 2.719 kB / 0.7152 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.8326, allocations: 239.9 kB / 0.7155 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.833, allocations: 104.2 kB / 0.7156 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005404/0.8336, allocations: 0.5929 MB / 0.7161 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.8342, allocations: 64.64 kB / 0.7162 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.8343, allocations: 45.12 kB / 0.7162 GB, free: 12.03 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.0003194/0.8346, allocations: 175.6 kB / 0.7164 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.8348, allocations: 54.47 kB / 0.7165 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.8368, allocations: 1.089 MB / 0.7175 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.8368, allocations: 7.406 kB / 0.7175 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8368, allocations: 0 / 0.7175 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8368, allocations: 0 / 0.7175 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.8384, allocations: 1.004 MB / 0.7185 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8384, allocations: 10.7 kB / 0.7185 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.8386, allocations: 48.36 kB / 0.7186 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/0.8416, allocations: 440 kB / 0.719 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.8417, allocations: 8.312 kB / 0.719 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004647/0.8422, allocations: 0.6052 MB / 0.7196 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8422, allocations: 0 / 0.7196 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.8438, allocations: 1.31 MB / 0.7209 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.844, allocations: 144.5 kB / 0.721 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8441, allocations: 11.25 kB / 0.721 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.8445, allocations: 30.78 kB / 0.7211 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.8446, allocations: 27.09 kB / 0.7211 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.8446, allocations: 21.19 kB / 0.7211 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004473/0.8451, allocations: 403.8 kB / 0.7215 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8451, allocations: 0 / 0.7215 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001438/0.8465, allocations: 348.4 kB / 0.7218 GB, free: 9.664 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.001172/0.8477, allocations: 440.8 kB / 0.7222 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000839/0.8486, allocations: 372.3 kB / 0.7226 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8486, allocations: 0 / 0.7226 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.8489, allocations: 159.1 kB / 0.7227 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.8507, allocations: 355.3 kB / 0.7231 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.8523, allocations: 1.271 MB / 0.7243 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.8528, allocations: 0.8574 MB / 0.7252 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0012/0.854, allocations: 0.5599 MB / 0.7257 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.8543, allocations: 84.06 kB / 0.7258 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/0.8543, allocations: 0 / 0.7258 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of Templates: time 0.027/0.8813, allocations: 17.27 MB / 0.7427 GB, free: 140 kB / 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@2/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