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.001439/0.001439, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001689/0.001689, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.423/1.423, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2126/0.2126, allocations: 43.53 MB / 314.6 MB, free: 0.5195 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.001834/0.001834, allocations: 70.52 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1139, allocations: 57.8 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.492/0.6059, allocations: 190 MB / 0.6164 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009551/0.6156, allocations: 6.053 MB / 0.6223 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009799/0.6166, allocations: 18.25 kB / 0.6223 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.6177, allocations: 326.9 kB / 0.6226 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.6239, allocations: 1.936 MB / 0.6245 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.6261, allocations: 0.7104 MB / 0.6252 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.6282, allocations: 1.527 MB / 0.6267 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.6289, allocations: 427 kB / 0.6271 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.63, allocations: 0.5715 MB / 0.6277 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.6305, allocations: 458.1 kB / 0.6281 GB, free: 9.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.6307, allocations: 51.94 kB / 0.6282 GB, free: 9.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.6348, allocations: 2.008 MB / 0.6301 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.635, allocations: 163.5 kB / 0.6303 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.6354, allocations: 342.5 kB / 0.6306 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.6387, allocations: 1.909 MB / 0.6325 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6388, allocations: 0 / 0.6325 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6388, allocations: 4 kB / 0.6325 GB, free: 4.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.6388, allocations: 0 / 0.6325 GB, free: 4.891 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.001977/0.6408, allocations: 1.11 MB / 0.6336 GB, free: 3.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6408, allocations: 20.02 kB / 0.6336 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6418, allocations: 135.2 kB / 0.6337 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.6425, allocations: 465.7 kB / 0.6342 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.6426, allocations: 33 kB / 0.6342 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.6426, allocations: 40 kB / 0.6342 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.6437, allocations: 0.5944 MB / 0.6348 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.6437, allocations: 0 / 0.6348 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.6438, allocations: 23.94 kB / 0.6348 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6438, allocations: 8 kB / 0.6348 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.6447, allocations: 471.6 kB / 0.6353 GB, free: 1.887 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.003043/0.6478, allocations: 2.678 MB / 0.6379 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.6485, allocations: 339.4 kB / 0.6382 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.6488, allocations: 177.3 kB / 0.6384 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.6502, allocations: 1.304 MB / 0.6397 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.6502, allocations: 34.84 kB / 0.6397 GB, free: 12.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.6502, allocations: 0 / 0.6397 GB, free: 12.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001736/0.652, allocations: 0.7103 MB / 0.6404 GB, free: 12.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.6521, allocations: 132.5 kB / 0.6405 GB, free: 12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.6526, allocations: 473.9 kB / 0.641 GB, free: 11.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.6527, allocations: 33.7 kB / 0.641 GB, free: 11.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.6529, allocations: 275.8 kB / 0.6413 GB, free: 11.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.653, allocations: 122.3 kB / 0.6414 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.6532, allocations: 98.02 kB / 0.6415 GB, free: 11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6534, allocations: 358.8 kB / 0.6418 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.6537, allocations: 144.8 kB / 0.642 GB, free: 10.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.654, allocations: 278.1 kB / 0.6422 GB, free: 10.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.6547, allocations: 437.6 kB / 0.6426 GB, free: 9.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6548, allocations: 0 / 0.6426 GB, free: 9.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009777/0.6557, allocations: 0.5287 MB / 0.6432 GB, free: 9.164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6558, allocations: 11.94 kB / 0.6432 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.6558, allocations: 4 kB / 0.6432 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.6574, allocations: 241 kB / 0.6434 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.6577, allocations: 99.83 kB / 0.6435 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004755/0.6582, allocations: 0.5875 MB / 0.6441 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.6586, allocations: 51.47 kB / 0.6441 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.6587, allocations: 51.92 kB / 0.6442 GB, free: 8.098 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.0002697/0.6589, allocations: 189.6 kB / 0.6443 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.6591, allocations: 51.44 kB / 0.6444 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.6606, allocations: 0.7142 MB / 0.6451 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6607, allocations: 4 kB / 0.6451 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6607, allocations: 4 kB / 0.6451 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.6607, allocations: 3.984 kB / 0.6451 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.6622, allocations: 1.016 MB / 0.6461 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6622, allocations: 0 / 0.6461 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.6624, allocations: 55.91 kB / 0.6461 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.6656, allocations: 436.3 kB / 0.6466 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.6656, allocations: 15.98 kB / 0.6466 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000439/0.6661, allocations: 0.5953 MB / 0.6472 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6661, allocations: 0 / 0.6472 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.6669, allocations: 0.5121 MB / 0.6477 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.667, allocations: 136.3 kB / 0.6478 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.6671, allocations: 19.78 kB / 0.6478 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.6674, allocations: 19.98 kB / 0.6478 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.6675, allocations: 27.91 kB / 0.6479 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.6676, allocations: 19.98 kB / 0.6479 GB, free: 4.109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004683/0.668, allocations: 398.8 kB / 0.6483 GB, free: 3.723 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.668, allocations: 0 / 0.6483 GB, free: 3.723 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001077/0.6691, allocations: 367.7 kB / 0.6486 GB, free: 3.363 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.001154/0.6703, allocations: 0.4946 MB / 0.6491 GB, free: 2.871 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009368/0.6712, allocations: 396.9 kB / 0.6495 GB, free: 2.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6713, allocations: 4 kB / 0.6495 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.6716, allocations: 163.8 kB / 0.6496 GB, free: 2.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.6733, allocations: 375.6 kB / 0.65 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.6748, allocations: 0.91 MB / 0.6509 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.6752, allocations: 0.8557 MB / 0.6517 GB, free: 112 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.6756, allocations: 99.39 kB / 0.6518 GB, free: 12 kB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6756, allocations: 0 / 0.6518 GB, free: 12 kB / 462.1 MB Notification: Performance of Templates: time 0.02324/0.6988, allocations: 15.59 MB / 0.667 GB, free: 440 kB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/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