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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001739/0.001739, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.154/2.154, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.11 MB / 344.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 78.31 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1323, allocations: 62.44 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5107/0.643, allocations: 184 MB / 0.6484 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.6535, allocations: 3.795 MB / 0.6521 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.6549, allocations: 15.88 kB / 0.6521 GB, free: 7.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.6564, allocations: 274.5 kB / 0.6523 GB, free: 7.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007709/0.6641, allocations: 1.527 MB / 0.6538 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.6673, allocations: 0.6532 MB / 0.6545 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003942/0.6713, allocations: 2.027 MB / 0.6564 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009613/0.6723, allocations: 351.3 kB / 0.6568 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.674, allocations: 0.5253 MB / 0.6573 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/0.675, allocations: 474 kB / 0.6577 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.6751, allocations: 28 kB / 0.6578 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005114/0.6802, allocations: 1.844 MB / 0.6596 GB, free: 164 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.6807, allocations: 139.4 kB / 0.6597 GB, free: 24 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007511/0.6814, allocations: 326.6 kB / 0.66 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.6846, allocations: 1.201 MB / 0.6612 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.6847, allocations: 0 / 0.6612 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6847, allocations: 3.938 kB / 0.6612 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.6847, allocations: 0 / 0.6612 GB, free: 14.5 MB / 0.4981 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.002695/0.6874, allocations: 1.083 MB / 0.6622 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6875, allocations: 11.97 kB / 0.6623 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.6886, allocations: 135.2 kB / 0.6624 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.6893, allocations: 460.5 kB / 0.6628 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.6894, allocations: 29 kB / 0.6629 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.6895, allocations: 47.94 kB / 0.6629 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.6907, allocations: 0.5906 MB / 0.6635 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.6907, allocations: 3.938 kB / 0.6635 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.6908, allocations: 16 kB / 0.6635 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.6908, allocations: 12 kB / 0.6635 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/0.6917, allocations: 483.5 kB / 0.664 GB, free: 11.52 MB / 0.4981 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.003995/0.6958, allocations: 2.644 MB / 0.6666 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.6971, allocations: 343.4 kB / 0.6669 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.6976, allocations: 165.3 kB / 0.667 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006745/0.6983, allocations: 445.8 kB / 0.6675 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.6984, allocations: 39.84 kB / 0.6675 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/0.6984, allocations: 0 / 0.6675 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.003047/0.7014, allocations: 0.7109 MB / 0.6682 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7016, allocations: 132.5 kB / 0.6683 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009427/0.7025, allocations: 469.9 kB / 0.6688 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.7027, allocations: 33.7 kB / 0.6688 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.703, allocations: 275.8 kB / 0.6691 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.7032, allocations: 114.3 kB / 0.6692 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.7035, allocations: 98.12 kB / 0.6693 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.7037, allocations: 366.8 kB / 0.6696 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.7043, allocations: 144.8 kB / 0.6698 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.7051, allocations: 279.7 kB / 0.67 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.7064, allocations: 437.6 kB / 0.6704 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7064, allocations: 0 / 0.6704 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001929/0.7084, allocations: 0.5326 MB / 0.671 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.7084, allocations: 11.94 kB / 0.671 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.7085, allocations: 4 kB / 0.671 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/0.7113, allocations: 240.8 kB / 0.6712 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.712, allocations: 108.6 kB / 0.6713 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007805/0.7128, allocations: 0.5848 MB / 0.6719 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.7137, allocations: 63.41 kB / 0.6719 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.7138, allocations: 47.98 kB / 0.672 GB, free: 2.746 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.0005132/0.7143, allocations: 189.7 kB / 0.6722 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.7146, allocations: 51.44 kB / 0.6722 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/0.7183, allocations: 1.08 MB / 0.6733 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.7183, allocations: 7.938 kB / 0.6733 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.7183, allocations: 0 / 0.6733 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.7183, allocations: 3.984 kB / 0.6733 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.721, allocations: 1.011 MB / 0.6743 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.7211, allocations: 7.938 kB / 0.6743 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.7215, allocations: 51.91 kB / 0.6743 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005617/0.7271, allocations: 436.3 kB / 0.6747 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.7273, allocations: 15.98 kB / 0.6748 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007888/0.7281, allocations: 0.603 MB / 0.6753 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.7281, allocations: 0 / 0.6753 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.7297, allocations: 0.512 MB / 0.6758 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.73, allocations: 136.3 kB / 0.676 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.7302, allocations: 8 kB / 0.676 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.7309, allocations: 27.97 kB / 0.676 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.7311, allocations: 27.97 kB / 0.676 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.7312, allocations: 23.92 kB / 0.6761 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008847/0.7321, allocations: 394.8 kB / 0.6764 GB, free: 14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7321, allocations: 0 / 0.6764 GB, free: 14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001778/0.7339, allocations: 347.5 kB / 0.6768 GB, free: 13.66 MB / 0.5137 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.001822/0.7357, allocations: 449.8 kB / 0.6772 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.7372, allocations: 380.1 kB / 0.6776 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7373, allocations: 0 / 0.6776 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006018/0.7379, allocations: 160.9 kB / 0.6777 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/0.7411, allocations: 349.2 kB / 0.678 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.7438, allocations: 1.093 MB / 0.6791 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.7445, allocations: 0.8518 MB / 0.6799 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008129/0.7454, allocations: 119.4 kB / 0.6801 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of SimCode: time 4.097e-06/0.7454, allocations: 0 / 0.6801 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.03807/0.7835, allocations: 15.36 MB / 0.6951 GB, free: 10.9 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches