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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001172/0.001172, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9418/0.9418, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 34.87 MB / 296.3 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] 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=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 4 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.567e-05, allocations: 3.156 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3303/0.3303, allocations: 148.8 MB / 0.5152 GB, free: 14.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.3349, allocations: 3.439 MB / 0.5186 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.3352, allocations: 23.31 kB / 0.5186 GB, free: 12.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.3357, allocations: 184 kB / 0.5188 GB, free: 12.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.3383, allocations: 1.549 MB / 0.5203 GB, free: 11.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.3392, allocations: 0.5731 MB / 0.5209 GB, free: 11.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.3405, allocations: 1.529 MB / 0.5224 GB, free: 10.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004507/0.341, allocations: 374.5 kB / 0.5227 GB, free: 10.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007534/0.3417, allocations: 0.7638 MB / 0.5235 GB, free: 10.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.3423, allocations: 483.6 kB / 0.5239 GB, free: 9.988 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.562e-05/0.3423, allocations: 48.94 kB / 0.524 GB, free: 9.988 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.3438, allocations: 1.044 MB / 0.525 GB, free: 9.711 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.3439, allocations: 177.1 kB / 0.5252 GB, free: 9.602 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.3441, allocations: 246.8 kB / 0.5254 GB, free: 9.516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.3456, allocations: 1.4 MB / 0.5268 GB, free: 9.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3456, allocations: 0 / 0.5268 GB, free: 9.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3456, allocations: 0 / 0.5268 GB, free: 9.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3456, allocations: 2.719 kB / 0.5268 GB, free: 9.02 MB / 410.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.00137/0.347, allocations: 1.096 MB / 0.5278 GB, free: 8.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.347, allocations: 11.38 kB / 0.5278 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005886/0.3476, allocations: 222.3 kB / 0.5281 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.3481, allocations: 429.2 kB / 0.5285 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3481, allocations: 34.03 kB / 0.5285 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.3482, allocations: 47.94 kB / 0.5285 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.3488, allocations: 0.7957 MB / 0.5293 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3488, allocations: 3.938 kB / 0.5293 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3488, allocations: 20.25 kB / 0.5293 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3489, allocations: 8.688 kB / 0.5293 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.3492, allocations: 275.4 kB / 0.5296 GB, free: 7.141 MB / 410.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.001449/0.3507, allocations: 2.264 MB / 0.5318 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.351, allocations: 204.2 kB / 0.532 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3511, allocations: 90.64 kB / 0.5321 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.3512, allocations: 44.39 kB / 0.5321 GB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3513, allocations: 42.2 kB / 0.5322 GB, free: 5.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/0.3513, allocations: 0 / 0.5322 GB, free: 5.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008077/0.3521, allocations: 477.4 kB / 0.5326 GB, free: 5.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3521, allocations: 136 kB / 0.5328 GB, free: 4.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3524, allocations: 424.3 kB / 0.5332 GB, free: 4.633 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.3524, allocations: 32.2 kB / 0.5332 GB, free: 4.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3525, allocations: 334.5 kB / 0.5335 GB, free: 4.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.3526, allocations: 120.3 kB / 0.5336 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/0.3527, allocations: 112 kB / 0.5337 GB, free: 4.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.3527, allocations: 0.5248 MB / 0.5343 GB, free: 3.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3528, allocations: 69.97 kB / 0.5343 GB, free: 3.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.353, allocations: 335.3 kB / 0.5346 GB, free: 3.312 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.3533, allocations: 329.9 kB / 0.535 GB, free: 3.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3533, allocations: 2.844 kB / 0.535 GB, free: 3.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004507/0.3538, allocations: 401.4 kB / 0.5353 GB, free: 2.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3538, allocations: 13.53 kB / 0.5354 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3538, allocations: 2.938 kB / 0.5354 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/0.3544, allocations: 199.9 kB / 0.5356 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.3546, allocations: 106.1 kB / 0.5357 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002371/0.3548, allocations: 0.8217 MB / 0.5365 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.355, allocations: 42.39 kB / 0.5365 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.355, allocations: 43.44 kB / 0.5365 GB, free: 2.027 MB / 410.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.0001075/0.3551, allocations: 189.2 kB / 0.5367 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.3552, allocations: 58.94 kB / 0.5368 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009088/0.3561, allocations: 0.9665 MB / 0.5377 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3561, allocations: 5.906 kB / 0.5377 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3561, allocations: 0 / 0.5377 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3561, allocations: 2.438 kB / 0.5377 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006937/0.3568, allocations: 0.8358 MB / 0.5385 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3568, allocations: 3 kB / 0.5385 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3569, allocations: 55.2 kB / 0.5386 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.358, allocations: 314.8 kB / 0.5389 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.358, allocations: 13.56 kB / 0.5389 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001851/0.3582, allocations: 0.8316 MB / 0.5397 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3582, allocations: 2.688 kB / 0.5397 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.3586, allocations: 476.7 kB / 0.5402 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.3586, allocations: 48.89 kB / 0.5402 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.3587, allocations: 6.812 kB / 0.5402 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3588, allocations: 15.7 kB / 0.5402 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3588, allocations: 25.25 kB / 0.5403 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3589, allocations: 24.17 kB / 0.5403 GB, free: 15.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001964/0.3591, allocations: 305.6 kB / 0.5406 GB, free: 15.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3591, allocations: 0 / 0.5406 GB, free: 15.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006009/0.3597, allocations: 343.2 kB / 0.5409 GB, free: 15.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.0005822/0.3602, allocations: 429.6 kB / 0.5413 GB, free: 15.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.3606, allocations: 252.5 kB / 0.5416 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3606, allocations: 0 / 0.5416 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.3608, allocations: 119.5 kB / 0.5417 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.3615, allocations: 313.8 kB / 0.542 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3627, allocations: 0.838 MB / 0.5428 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.377e-05/0.3628, allocations: 125.3 kB / 0.5429 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000532/0.3633, allocations: 483.2 kB / 0.5434 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.3634, allocations: 83.14 kB / 0.5435 GB, free: 14.11 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3634, allocations: 6.625 kB / 0.5435 GB, free: 14.11 MB / 426.7 MB Notification: Performance of Templates: time 0.0187/0.3821, allocations: 18.02 MB / 0.5611 GB, free: 13.78 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.756944729015231]