Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001916/0.001916, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.88 MB / 361.1 MB, free: 4.66 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5003,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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 75.88 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4068, allocations: 65.99 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.7118/1.119, allocations: 186.8 MB / 0.7437 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006549/1.125, allocations: 3.697 MB / 0.7473 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008966/1.126, allocations: 16.59 kB / 0.7473 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/1.127, allocations: 330.9 kB / 0.7476 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005692/1.133, allocations: 1.736 MB / 0.7493 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002522/1.135, allocations: 0.7193 MB / 0.75 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002513/1.138, allocations: 1.534 MB / 0.7515 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006047/1.138, allocations: 364.1 kB / 0.7518 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/1.139, allocations: 0.5912 MB / 0.7524 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/1.14, allocations: 476.9 kB / 0.7529 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/1.14, allocations: 51.62 kB / 0.7529 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/1.144, allocations: 1.938 MB / 0.7548 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/1.144, allocations: 162.5 kB / 0.755 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004372/1.144, allocations: 344.2 kB / 0.7553 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/1.147, allocations: 1.824 MB / 0.7571 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.147, allocations: 3.812 kB / 0.7571 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/1.147, allocations: 0.9375 kB / 0.7571 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.147, allocations: 0 / 0.7571 GB, free: 1.574 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.002099/1.15, allocations: 1.104 MB / 0.7582 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.15, allocations: 15.3 kB / 0.7582 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009327/1.151, allocations: 143.3 kB / 0.7583 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/1.151, allocations: 490 kB / 0.7588 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/1.151, allocations: 33.5 kB / 0.7588 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/1.151, allocations: 38.69 kB / 0.7588 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009743/1.152, allocations: 0.5887 MB / 0.7594 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/1.152, allocations: 0.9062 kB / 0.7594 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/1.152, allocations: 19.31 kB / 0.7594 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.152, allocations: 12.22 kB / 0.7595 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/1.153, allocations: 474.5 kB / 0.7599 GB, free: 16.48 MB / 0.5762 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.002978/1.156, allocations: 2.643 MB / 0.7625 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/1.157, allocations: 335 kB / 0.7628 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/1.157, allocations: 150.7 kB / 0.7629 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/1.158, allocations: 437 kB / 0.7634 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/1.158, allocations: 41.75 kB / 0.7634 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/1.158, allocations: 3.094 kB / 0.7634 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.00164/1.159, allocations: 0.704 MB / 0.7641 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.159, allocations: 139.6 kB / 0.7642 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/1.16, allocations: 464.8 kB / 0.7647 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/1.16, allocations: 35.92 kB / 0.7647 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/1.16, allocations: 284.9 kB / 0.765 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/1.16, allocations: 115.4 kB / 0.7651 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/1.16, allocations: 109.2 kB / 0.7652 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.161, allocations: 363.8 kB / 0.7655 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/1.161, allocations: 148.5 kB / 0.7657 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/1.161, allocations: 278.2 kB / 0.7659 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/1.162, allocations: 436.9 kB / 0.7664 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.162, allocations: 0 / 0.7664 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000891/1.163, allocations: 0.5454 MB / 0.7669 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.163, allocations: 5.062 kB / 0.7669 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.163, allocations: 4.188 kB / 0.7669 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/1.164, allocations: 240.4 kB / 0.7671 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/1.165, allocations: 110.2 kB / 0.7672 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005125/1.165, allocations: 0.594 MB / 0.7678 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/1.165, allocations: 44.5 kB / 0.7679 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/1.166, allocations: 51.45 kB / 0.7679 GB, free: 12.21 MB / 0.5762 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.0002801/1.166, allocations: 177.8 kB / 0.7681 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/1.166, allocations: 54.33 kB / 0.7681 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/1.168, allocations: 1.077 MB / 0.7692 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.168, allocations: 3.219 kB / 0.7692 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.168, allocations: 4.734 kB / 0.7692 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.168, allocations: 2.344 kB / 0.7692 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/1.169, allocations: 1.008 MB / 0.7702 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.169, allocations: 2.969 kB / 0.7702 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/1.169, allocations: 56.62 kB / 0.7702 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/1.172, allocations: 434.4 kB / 0.7706 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/1.172, allocations: 9.281 kB / 0.7707 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005013/1.173, allocations: 0.6011 MB / 0.7712 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.173, allocations: 8.141 kB / 0.7713 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/1.174, allocations: 0.5072 MB / 0.7717 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/1.174, allocations: 137.8 kB / 0.7719 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/1.174, allocations: 8.594 kB / 0.7719 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/1.174, allocations: 26.09 kB / 0.7719 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/1.174, allocations: 23.39 kB / 0.7719 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/1.174, allocations: 18.19 kB / 0.772 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004628/1.175, allocations: 397.5 kB / 0.7723 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 0 / 0.7723 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001073/1.176, allocations: 344.9 kB / 0.7727 GB, free: 10.51 MB / 0.5762 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.001079/1.177, allocations: 455.5 kB / 0.7731 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008381/1.178, allocations: 364.9 kB / 0.7734 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.178, allocations: 2.562 kB / 0.7734 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/1.178, allocations: 150.7 kB / 0.7736 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/1.18, allocations: 358.7 kB / 0.7739 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/1.181, allocations: 0.9001 MB / 0.7748 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/1.182, allocations: 0.8596 MB / 0.7756 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009857/1.183, allocations: 0.5562 MB / 0.7762 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/1.183, allocations: 89.31 kB / 0.7763 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of SimCode: time 6.92e-07/1.183, allocations: 1.031 kB / 0.7763 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of Templates: time 0.03269/1.216, allocations: 17.87 MB / 0.7937 GB, free: 4.289 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.801904758904129]