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.001206/0.001207, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 202.8 kB / 16.79 MB, free: 6.84 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.684/1.684, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.3892/0.3892, allocations: 43.5 MB / 313.5 MB, free: 8.531 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.002689/0.002689, allocations: 71.89 kB / 382.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1787, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4721/0.6509, allocations: 188.4 MB / 0.6135 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009517/0.6604, allocations: 6.26 MB / 0.6196 GB, free: 9.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.6615, allocations: 19.81 kB / 0.6196 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.6627, allocations: 274.5 kB / 0.6199 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005283/0.668, allocations: 1.72 MB / 0.6215 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.6701, allocations: 0.6435 MB / 0.6222 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.6729, allocations: 2.016 MB / 0.6241 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.6736, allocations: 360 kB / 0.6245 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.6747, allocations: 0.5174 MB / 0.625 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006361/0.6754, allocations: 478 kB / 0.6255 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.6755, allocations: 32 kB / 0.6255 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.6796, allocations: 1.977 MB / 0.6274 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.6798, allocations: 139.4 kB / 0.6275 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.6802, allocations: 326.5 kB / 0.6279 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3438/1.024, allocations: 1.889 MB / 0.6297 GB, free: 7.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.024, allocations: 1.594 kB / 0.6297 GB, free: 7.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.464e-06/1.024, allocations: 1.281 kB / 0.6297 GB, free: 7.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/1.024, allocations: 1.594 kB / 0.6297 GB, free: 7.234 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.002127/1.026, allocations: 1.113 MB / 0.6308 GB, free: 6.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.026, allocations: 12.28 kB / 0.6308 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.027, allocations: 135.1 kB / 0.6309 GB, free: 6.703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/1.028, allocations: 477.7 kB / 0.6314 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/1.028, allocations: 32.62 kB / 0.6314 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/1.028, allocations: 40.31 kB / 0.6315 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.029, allocations: 0.5842 MB / 0.632 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.029, allocations: 5.031 kB / 0.632 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/1.029, allocations: 20.88 kB / 0.6321 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/1.029, allocations: 12.03 kB / 0.6321 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008516/1.03, allocations: 470.5 kB / 0.6325 GB, free: 6.328 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.002446/1.033, allocations: 2.668 MB / 0.6351 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/1.033, allocations: 347 kB / 0.6354 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/1.034, allocations: 168.7 kB / 0.6356 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/1.035, allocations: 1.308 MB / 0.6369 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.035, allocations: 37.59 kB / 0.6369 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/1.035, allocations: 2.625 kB / 0.6369 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00172/1.037, allocations: 0.7008 MB / 0.6376 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/1.037, allocations: 136.7 kB / 0.6377 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/1.037, allocations: 467.5 kB / 0.6382 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/1.037, allocations: 38.95 kB / 0.6382 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/1.038, allocations: 272.5 kB / 0.6385 GB, free: 18.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.449e-05/1.038, allocations: 115.5 kB / 0.6386 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/1.038, allocations: 101.6 kB / 0.6387 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002404/1.038, allocations: 360.8 kB / 0.639 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/1.038, allocations: 144.9 kB / 0.6392 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/1.039, allocations: 279.4 kB / 0.6394 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/1.039, allocations: 441.7 kB / 0.6399 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.039, allocations: 2.375 kB / 0.6399 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009198/1.04, allocations: 0.5306 MB / 0.6404 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.04, allocations: 9.906 kB / 0.6404 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.04, allocations: 3.531 kB / 0.6404 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.042, allocations: 237.2 kB / 0.6406 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/1.042, allocations: 102.5 kB / 0.6407 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/1.043, allocations: 0.5953 MB / 0.6413 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/1.043, allocations: 67.09 kB / 0.6414 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/1.043, allocations: 43.69 kB / 0.6414 GB, free: 17.39 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.0003274/1.044, allocations: 183.2 kB / 0.6416 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/1.044, allocations: 53.58 kB / 0.6416 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/1.045, allocations: 0.7268 MB / 0.6423 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/1.045, allocations: 11.66 kB / 0.6424 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.045, allocations: 0 / 0.6424 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.045, allocations: 0 / 0.6424 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/1.047, allocations: 1.006 MB / 0.6433 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.047, allocations: 5.594 kB / 0.6433 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/1.047, allocations: 52.11 kB / 0.6434 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003225/1.05, allocations: 437.2 kB / 0.6438 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/1.05, allocations: 8.688 kB / 0.6438 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008812/1.051, allocations: 0.6022 MB / 0.6444 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.051, allocations: 10.09 kB / 0.6444 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/1.052, allocations: 0.5013 MB / 0.6449 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/1.052, allocations: 139.8 kB / 0.645 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/1.052, allocations: 17.11 kB / 0.6451 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/1.053, allocations: 33.95 kB / 0.6451 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/1.053, allocations: 32.64 kB / 0.6451 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/1.053, allocations: 16.48 kB / 0.6451 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005182/1.054, allocations: 402.4 kB / 0.6455 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.054, allocations: 0 / 0.6455 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001354/1.055, allocations: 365.1 kB / 0.6459 GB, free: 15.68 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.001156/1.056, allocations: 0.5036 MB / 0.6464 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008208/1.057, allocations: 360.3 kB / 0.6467 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.057, allocations: 2.812 kB / 0.6467 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/1.057, allocations: 165.7 kB / 0.6469 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.059, allocations: 350.2 kB / 0.6472 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/1.061, allocations: 1.059 MB / 0.6482 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/1.061, allocations: 0.8589 MB / 0.6491 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000999/1.062, allocations: 197.6 kB / 0.6493 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/1.063, allocations: 73.39 kB / 0.6493 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/1.063, allocations: 0 / 0.6493 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.03763/1.1, allocations: 17.74 MB / 0.6666 GB, free: 11.32 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