Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001041/0.001041, allocations: 107.1 kB / 17.77 MB, free: 5.27 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.001115/0.001115, allocations: 184.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2052/0.2052, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3412, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2003/0.5415, allocations: 183 MB / 0.6977 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006103/0.5476, allocations: 3.623 MB / 0.7012 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007757/0.5484, allocations: 19.88 kB / 0.7012 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.5496, allocations: 321.8 kB / 0.7015 GB, free: 436 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.5544, allocations: 1.724 MB / 0.7032 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.5565, allocations: 0.7202 MB / 0.7039 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002551/0.559, allocations: 1.528 MB / 0.7054 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.5601, allocations: 415.5 kB / 0.7058 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.5617, allocations: 0.5995 MB / 0.7064 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.5628, allocations: 450.2 kB / 0.7068 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.563, allocations: 52 kB / 0.7069 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.5673, allocations: 1.903 MB / 0.7087 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.5676, allocations: 159.5 kB / 0.7089 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.5681, allocations: 342.5 kB / 0.7092 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003413/0.5715, allocations: 1.796 MB / 0.7109 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5716, allocations: 4 kB / 0.711 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5716, allocations: 0 / 0.711 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.51e-05/0.5716, allocations: 0 / 0.711 GB, free: 6.742 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.002642/0.5743, allocations: 1.075 MB / 0.712 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5743, allocations: 12.03 kB / 0.712 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.5754, allocations: 139.2 kB / 0.7121 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.5762, allocations: 484.4 kB / 0.7126 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.5763, allocations: 36.94 kB / 0.7126 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.5764, allocations: 40 kB / 0.7127 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.5775, allocations: 0.5867 MB / 0.7133 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.5776, allocations: 3.938 kB / 0.7133 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.5776, allocations: 20 kB / 0.7133 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.5777, allocations: 15.94 kB / 0.7133 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.5786, allocations: 471.6 kB / 0.7137 GB, free: 3.754 MB / 0.5606 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.003033/0.5817, allocations: 2.643 MB / 0.7163 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.5824, allocations: 339.5 kB / 0.7166 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.5827, allocations: 169.3 kB / 0.7168 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2773/0.86, allocations: 434.7 kB / 0.7172 GB, free: 191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.8601, allocations: 39.45 kB / 0.7173 GB, free: 191 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.8601, allocations: 0 / 0.7173 GB, free: 191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002401/0.8625, allocations: 0.714 MB / 0.718 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.8626, allocations: 132.7 kB / 0.7181 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/0.8633, allocations: 467.8 kB / 0.7185 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.8634, allocations: 35.67 kB / 0.7186 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.8636, allocations: 271.9 kB / 0.7188 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.8636, allocations: 115.1 kB / 0.7189 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.8638, allocations: 103.8 kB / 0.719 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.8639, allocations: 361.8 kB / 0.7194 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.8643, allocations: 151.6 kB / 0.7195 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.8647, allocations: 280.6 kB / 0.7198 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/0.8654, allocations: 440.6 kB / 0.7202 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8655, allocations: 0.9375 kB / 0.7202 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001064/0.8665, allocations: 0.5382 MB / 0.7207 GB, free: 189 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.8666, allocations: 6.781 kB / 0.7207 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8666, allocations: 3.125 kB / 0.7207 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.8681, allocations: 236.7 kB / 0.721 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.8685, allocations: 109.5 kB / 0.7211 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003638/0.8689, allocations: 0.5919 MB / 0.7217 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.8692, allocations: 45.42 kB / 0.7217 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.943e-05/0.8693, allocations: 46.97 kB / 0.7217 GB, free: 188.4 MB / 0.5606 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.000215/0.8696, allocations: 185 kB / 0.7219 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.8697, allocations: 55.28 kB / 0.722 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.8716, allocations: 1.077 MB / 0.723 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.8716, allocations: 8.062 kB / 0.723 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8717, allocations: 0.8438 kB / 0.723 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.8717, allocations: 1.172 kB / 0.723 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.8732, allocations: 1.014 MB / 0.724 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.8732, allocations: 2.141 kB / 0.724 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.8735, allocations: 46.47 kB / 0.7241 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/0.8763, allocations: 439.3 kB / 0.7245 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.8764, allocations: 10.58 kB / 0.7245 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002955/0.8767, allocations: 0.6012 MB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.8767, allocations: 10.62 kB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.8774, allocations: 0.5018 MB / 0.7256 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.8775, allocations: 132.6 kB / 0.7257 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.8776, allocations: 12.06 kB / 0.7257 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.8779, allocations: 16.09 kB / 0.7257 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.878, allocations: 33.45 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.878, allocations: 19.64 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004505/0.8785, allocations: 395.9 kB / 0.7262 GB, free: 186 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8785, allocations: 3.938 kB / 0.7262 GB, free: 186 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009565/0.8794, allocations: 332.1 kB / 0.7265 GB, free: 186 MB / 0.5606 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.0009624/0.8804, allocations: 443.7 kB / 0.7269 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008309/0.8812, allocations: 378.9 kB / 0.7273 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8813, allocations: 1.219 kB / 0.7273 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.8816, allocations: 170.8 kB / 0.7274 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.8832, allocations: 358.3 kB / 0.7278 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.8844, allocations: 0.8786 MB / 0.7286 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.8847, allocations: 0.86 MB / 0.7295 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008937/0.8856, allocations: 0.5469 MB / 0.73 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.8859, allocations: 99.41 kB / 0.7301 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.8859, allocations: 0 / 0.7301 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.02429/0.9102, allocations: 17.46 MB / 0.7472 GB, free: 171.5 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches