Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3553/0.3553, allocations: 34.27 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.944e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3841/0.3841, allocations: 179.9 MB / 0.5441 GB, free: 10.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007362/0.3915, allocations: 3.641 MB / 0.5477 GB, free: 8.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008445/0.3923, allocations: 20.75 kB / 0.5477 GB, free: 8.238 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.3936, allocations: 314.9 kB / 0.548 GB, free: 8.062 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007098/0.4007, allocations: 1.793 MB / 0.5497 GB, free: 7.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.4037, allocations: 0.7246 MB / 0.5505 GB, free: 6.621 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003299/0.407, allocations: 1.561 MB / 0.552 GB, free: 5.699 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.4081, allocations: 383.5 kB / 0.5523 GB, free: 5.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.4104, allocations: 0.8004 MB / 0.5531 GB, free: 4.945 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009899/0.4114, allocations: 417.4 kB / 0.5535 GB, free: 4.734 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.4115, allocations: 51.28 kB / 0.5536 GB, free: 4.734 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004221/0.4158, allocations: 1.2 MB / 0.5547 GB, free: 4.148 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.4161, allocations: 168.9 kB / 0.5549 GB, free: 4.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.4167, allocations: 251 kB / 0.5551 GB, free: 3.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005869/0.4226, allocations: 1.793 MB / 0.5569 GB, free: 2.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4226, allocations: 0 / 0.5569 GB, free: 2.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4226, allocations: 0 / 0.5569 GB, free: 2.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.4226, allocations: 0 / 0.5569 GB, free: 2.137 MB / 426.7 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.003686/0.4263, allocations: 1.16 MB / 0.558 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4263, allocations: 8.031 kB / 0.558 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.4286, allocations: 227.1 kB / 0.5583 GB, free: 0.707 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.4302, allocations: 451.8 kB / 0.5587 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.4303, allocations: 29 kB / 0.5587 GB, free: 220 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.4304, allocations: 44 kB / 0.5588 GB, free: 176 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.4331, allocations: 0.929 MB / 0.5597 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.4331, allocations: 7.875 kB / 0.5597 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.4333, allocations: 20 kB / 0.5597 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.4333, allocations: 12 kB / 0.5597 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.435, allocations: 411.6 kB / 0.5601 GB, free: 14.67 MB / 442.7 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.00663/0.4417, allocations: 2.428 MB / 0.5625 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.4432, allocations: 334.6 kB / 0.5628 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008342/0.444, allocations: 140.2 kB / 0.5629 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/0.4444, allocations: 56.23 kB / 0.563 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.194e-05/0.4445, allocations: 41.67 kB / 0.563 GB, free: 11.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.216e-06/0.4445, allocations: 0 / 0.563 GB, free: 11.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.003358/0.4478, allocations: 0.6431 MB / 0.5636 GB, free: 10.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.448, allocations: 132.5 kB / 0.5638 GB, free: 10.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.4491, allocations: 0.5103 MB / 0.5643 GB, free: 10.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/0.4492, allocations: 33.7 kB / 0.5643 GB, free: 10.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.4497, allocations: 355 kB / 0.5646 GB, free: 9.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.45, allocations: 131 kB / 0.5648 GB, free: 9.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/0.4503, allocations: 119.8 kB / 0.5649 GB, free: 9.594 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004819/0.4508, allocations: 0.543 MB / 0.5654 GB, free: 9.039 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/0.4513, allocations: 136.9 kB / 0.5655 GB, free: 8.906 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009645/0.4523, allocations: 403.1 kB / 0.5659 GB, free: 8.418 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.4538, allocations: 467.2 kB / 0.5664 GB, free: 7.898 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.4538, allocations: 4 kB / 0.5664 GB, free: 7.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002103/0.4559, allocations: 0.5282 MB / 0.5669 GB, free: 7.355 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.456, allocations: 4 kB / 0.5669 GB, free: 7.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.456, allocations: 4 kB / 0.5669 GB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/0.4586, allocations: 215.5 kB / 0.5671 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.4593, allocations: 99.83 kB / 0.5672 GB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.4605, allocations: 0.8741 MB / 0.568 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.4611, allocations: 35.77 kB / 0.5681 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.4612, allocations: 44 kB / 0.5681 GB, free: 6.051 MB / 442.7 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.0005221/0.4618, allocations: 216.5 kB / 0.5683 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.462, allocations: 71.64 kB / 0.5684 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/0.4658, allocations: 1.114 MB / 0.5695 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4658, allocations: 4 kB / 0.5695 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4658, allocations: 0 / 0.5695 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4659, allocations: 3.984 kB / 0.5695 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.469, allocations: 0.9843 MB / 0.5705 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.4691, allocations: 8.031 kB / 0.5705 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.4695, allocations: 47.91 kB / 0.5705 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005433/0.4749, allocations: 355.2 kB / 0.5708 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.475, allocations: 15.98 kB / 0.5709 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.4762, allocations: 0.8827 MB / 0.5717 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4762, allocations: 0 / 0.5717 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.478, allocations: 0.5625 MB / 0.5723 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.4782, allocations: 51.64 kB / 0.5723 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.4783, allocations: 19.83 kB / 0.5723 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/0.4789, allocations: 15.98 kB / 0.5724 GB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.479, allocations: 24 kB / 0.5724 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-05/0.4791, allocations: 21.05 kB / 0.5724 GB, free: 1.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009416/0.48, allocations: 383 kB / 0.5728 GB, free: 1.129 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.48, allocations: 0 / 0.5728 GB, free: 1.129 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001916/0.4819, allocations: 346.9 kB / 0.5731 GB, free: 0.7891 MB / 442.7 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.001754/0.4837, allocations: 457.4 kB / 0.5735 GB, free: 344 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.4853, allocations: 372.7 kB / 0.5739 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4854, allocations: 4.812 kB / 0.5739 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.486, allocations: 175.5 kB / 0.5741 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.4889, allocations: 326 kB / 0.5744 GB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.4919, allocations: 0.8784 MB / 0.5752 GB, free: 14.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.4924, allocations: 255.2 kB / 0.5755 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002145/0.4945, allocations: 0.5359 MB / 0.576 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/0.495, allocations: 80.47 kB / 0.5761 GB, free: 13.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/0.495, allocations: 0 / 0.5761 GB, free: 13.66 MB / 458.7 MB Notification: Performance of Templates: time 0.05957/0.5546, allocations: 16.71 MB / 0.5924 GB, free: 13.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.024463956011459]