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.001032/0.001032, allocations: 102.7 kB / 17.63 MB, free: 5.344 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.00105/0.00105, allocations: 192 kB / 18.56 MB, free: 4.434 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.316/1.316, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2016/0.2016, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 61.5 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1398, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5372/0.6771, allocations: 183 MB / 0.637 GB, free: 9.496 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006459/0.6836, allocations: 3.624 MB / 0.6405 GB, free: 5.863 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006817/0.6843, allocations: 19.88 kB / 0.6406 GB, free: 5.844 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009803/0.6853, allocations: 321.8 kB / 0.6409 GB, free: 5.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004286/0.6897, allocations: 1.698 MB / 0.6425 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.6918, allocations: 0.7212 MB / 0.6432 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.6939, allocations: 1.52 MB / 0.6447 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007048/0.6946, allocations: 424 kB / 0.6451 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.6957, allocations: 0.58 MB / 0.6457 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005932/0.6963, allocations: 450.2 kB / 0.6461 GB, free: 148 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.209e-05/0.6964, allocations: 59.94 kB / 0.6462 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003857/0.7003, allocations: 1.848 MB / 0.648 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.7005, allocations: 151.5 kB / 0.6481 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003844/0.7008, allocations: 342.5 kB / 0.6484 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.7036, allocations: 1.792 MB / 0.6502 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7036, allocations: 0 / 0.6502 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.7036, allocations: 0 / 0.6502 GB, free: 11.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.7036, allocations: 0 / 0.6502 GB, free: 11.95 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.002008/0.7056, allocations: 1.088 MB / 0.6513 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7057, allocations: 8.031 kB / 0.6513 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.7066, allocations: 139.2 kB / 0.6514 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.7073, allocations: 456.5 kB / 0.6518 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.7073, allocations: 36.98 kB / 0.6519 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/0.7074, allocations: 47.94 kB / 0.6519 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.7085, allocations: 0.5906 MB / 0.6525 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.7085, allocations: 4 kB / 0.6525 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.7086, allocations: 16.88 kB / 0.6525 GB, free: 9.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.7086, allocations: 12 kB / 0.6525 GB, free: 9.445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009065/0.7095, allocations: 475.5 kB / 0.653 GB, free: 8.977 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.003095/0.7126, allocations: 2.659 MB / 0.6556 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.7134, allocations: 343.5 kB / 0.6559 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.7137, allocations: 173.3 kB / 0.6561 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.7143, allocations: 437.7 kB / 0.6565 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.7143, allocations: 38.84 kB / 0.6565 GB, free: 5.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 3.246e-06/0.7143, allocations: 4 kB / 0.6565 GB, free: 5.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001758/0.7161, allocations: 0.7109 MB / 0.6572 GB, free: 4.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.497e-05/0.7162, allocations: 132.5 kB / 0.6573 GB, free: 4.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.7167, allocations: 474 kB / 0.6578 GB, free: 3.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.7168, allocations: 29.7 kB / 0.6578 GB, free: 3.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.717, allocations: 279.8 kB / 0.6581 GB, free: 3.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.7171, allocations: 110.3 kB / 0.6582 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.7173, allocations: 110 kB / 0.6583 GB, free: 3.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7174, allocations: 358.8 kB / 0.6586 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.7177, allocations: 144.8 kB / 0.6588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.7181, allocations: 279 kB / 0.659 GB, free: 2.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.7189, allocations: 438.5 kB / 0.6595 GB, free: 1.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7189, allocations: 4 kB / 0.6595 GB, free: 1.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009862/0.7199, allocations: 0.5368 MB / 0.66 GB, free: 1.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7199, allocations: 11.97 kB / 0.66 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7199, allocations: 4 kB / 0.66 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.7214, allocations: 236.5 kB / 0.6602 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.7218, allocations: 103.9 kB / 0.6603 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004737/0.7223, allocations: 0.5947 MB / 0.6609 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.7226, allocations: 55.58 kB / 0.661 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/0.7227, allocations: 44 kB / 0.661 GB, free: 196 kB / 494.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.0002422/0.723, allocations: 181.6 kB / 0.6612 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.7231, allocations: 55.52 kB / 0.6612 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.7251, allocations: 1.079 MB / 0.6623 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7251, allocations: 4 kB / 0.6623 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.7251, allocations: 0 / 0.6623 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7251, allocations: 7.922 kB / 0.6623 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.7266, allocations: 1.005 MB / 0.6633 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7266, allocations: 4 kB / 0.6633 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.7268, allocations: 55.91 kB / 0.6633 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/0.7298, allocations: 436.3 kB / 0.6638 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.7299, allocations: 16 kB / 0.6638 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004291/0.7303, allocations: 0.5914 MB / 0.6643 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.7303, allocations: 7.969 kB / 0.6644 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/0.7312, allocations: 0.5076 MB / 0.6648 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.7313, allocations: 124.5 kB / 0.665 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7314, allocations: 27.83 kB / 0.665 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.7318, allocations: 15.98 kB / 0.665 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.7318, allocations: 23.92 kB / 0.665 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.7319, allocations: 19.92 kB / 0.6651 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004911/0.7324, allocations: 402.8 kB / 0.6654 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7324, allocations: 0 / 0.6654 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001049/0.7334, allocations: 327.7 kB / 0.6657 GB, free: 11.14 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.001123/0.7346, allocations: 445.7 kB / 0.6662 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009386/0.7355, allocations: 384.1 kB / 0.6665 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7355, allocations: 0.875 kB / 0.6665 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.7359, allocations: 176.2 kB / 0.6667 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.7376, allocations: 366.6 kB / 0.6671 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.7391, allocations: 0.8964 MB / 0.6679 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.7395, allocations: 0.8557 MB / 0.6688 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001185/0.7407, allocations: 0.5536 MB / 0.6693 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.741, allocations: 87.39 kB / 0.6694 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.741, allocations: 0 / 0.6694 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of Templates: time 0.0317/0.7727, allocations: 17.37 MB / 0.6864 GB, free: 6.117 MB / 0.5137 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