Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.00099/0.00099, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0008867/0.0008867, allocations: 154.4 kB / 25.61 MB, free: 8.578 MB / 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.9858/0.9858, allocations: 177 MB / 205.9 MB, free: 4.465 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.1711/0.1711, allocations: 34.89 MB / 297.4 MB, free: 13.34 MB / 282.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.CurvedBend,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.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.949e-05, allocations: 5.484 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3933/0.3933, allocations: 146.1 MB / 0.5138 GB, free: 16.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.3989, allocations: 3.394 MB / 0.5171 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008972/0.3998, allocations: 22.62 kB / 0.5171 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.4005, allocations: 181.2 kB / 0.5173 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.4047, allocations: 1.565 MB / 0.5188 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.4061, allocations: 0.5675 MB / 0.5194 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.4082, allocations: 1.539 MB / 0.5209 GB, free: 15.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.4088, allocations: 376.2 kB / 0.5212 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.41, allocations: 0.7617 MB / 0.522 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007836/0.4108, allocations: 490.8 kB / 0.5224 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4109, allocations: 49.84 kB / 0.5225 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.4131, allocations: 1.105 MB / 0.5236 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.4133, allocations: 163 kB / 0.5237 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.4135, allocations: 255.2 kB / 0.524 GB, free: 15.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.416, allocations: 1.438 MB / 0.5254 GB, free: 15.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.416, allocations: 0 / 0.5254 GB, free: 15.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.416, allocations: 0 / 0.5254 GB, free: 15.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.4161, allocations: 0 / 0.5254 GB, free: 15.55 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.001837/0.4179, allocations: 1.113 MB / 0.5265 GB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4179, allocations: 13.33 kB / 0.5265 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000938/0.4189, allocations: 217.6 kB / 0.5267 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/0.4195, allocations: 426.9 kB / 0.5271 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.4195, allocations: 36.41 kB / 0.5271 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.4196, allocations: 47.66 kB / 0.5272 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.4203, allocations: 0.7661 MB / 0.5279 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4203, allocations: 2.875 kB / 0.5279 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.4204, allocations: 20.22 kB / 0.5279 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4204, allocations: 15.28 kB / 0.528 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.4208, allocations: 225.8 kB / 0.5282 GB, free: 14.04 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.001832/0.4226, allocations: 2.194 MB / 0.5303 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.423, allocations: 194.7 kB / 0.5305 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.423, allocations: 73.5 kB / 0.5306 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.4232, allocations: 47.84 kB / 0.5306 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4232, allocations: 41.31 kB / 0.5307 GB, free: 12.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.4232, allocations: 0 / 0.5307 GB, free: 12.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008436/0.4241, allocations: 452.8 kB / 0.5311 GB, free: 12.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.4241, allocations: 133.9 kB / 0.5312 GB, free: 12.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.4243, allocations: 423.8 kB / 0.5316 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.4244, allocations: 32.02 kB / 0.5316 GB, free: 11.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4245, allocations: 343.5 kB / 0.532 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.4246, allocations: 129.6 kB / 0.5321 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.4247, allocations: 111.7 kB / 0.5322 GB, free: 11.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.4248, allocations: 0.531 MB / 0.5327 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.203e-05/0.4249, allocations: 56.98 kB / 0.5328 GB, free: 11.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.4251, allocations: 315.9 kB / 0.5331 GB, free: 10.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.4254, allocations: 303.3 kB / 0.5334 GB, free: 10.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4254, allocations: 2.875 kB / 0.5334 GB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004799/0.4259, allocations: 382.7 kB / 0.5337 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4259, allocations: 5.281 kB / 0.5337 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.4259, allocations: 6.844 kB / 0.5337 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007204/0.4266, allocations: 198.9 kB / 0.5339 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.4268, allocations: 101.8 kB / 0.534 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002852/0.4271, allocations: 0.82 MB / 0.5348 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.4273, allocations: 40.8 kB / 0.5349 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.4273, allocations: 44.36 kB / 0.5349 GB, free: 9.754 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.0001503/0.4275, allocations: 192.5 kB / 0.5351 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/0.4276, allocations: 57.66 kB / 0.5352 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.4288, allocations: 0.947 MB / 0.5361 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4288, allocations: 3.125 kB / 0.5361 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4288, allocations: 0 / 0.5361 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4288, allocations: 2.156 kB / 0.5361 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.4296, allocations: 0.7554 MB / 0.5368 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4296, allocations: 5.969 kB / 0.5368 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.4297, allocations: 50.55 kB / 0.5369 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.4314, allocations: 314.9 kB / 0.5372 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.4315, allocations: 10.89 kB / 0.5372 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003709/0.4318, allocations: 0.8416 MB / 0.538 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.4318, allocations: 0 / 0.538 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.4324, allocations: 452.2 kB / 0.5384 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.4325, allocations: 49.64 kB / 0.5385 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.4326, allocations: 22.14 kB / 0.5385 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.4328, allocations: 19.02 kB / 0.5385 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.4328, allocations: 26.11 kB / 0.5386 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.4329, allocations: 17 kB / 0.5386 GB, free: 7.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.4331, allocations: 295.3 kB / 0.5389 GB, free: 7.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4331, allocations: 0 / 0.5389 GB, free: 7.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00133/0.4344, allocations: 341 kB / 0.5392 GB, free: 7.641 MB / 410.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.0009761/0.4354, allocations: 426.1 kB / 0.5396 GB, free: 7.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005712/0.436, allocations: 228.4 kB / 0.5398 GB, free: 7.461 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.436, allocations: 2.344 kB / 0.5398 GB, free: 7.461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.4362, allocations: 119.8 kB / 0.5399 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.4374, allocations: 310.2 kB / 0.5402 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.4392, allocations: 0.8426 MB / 0.541 GB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.4393, allocations: 130 kB / 0.5412 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001005/0.4403, allocations: 481.9 kB / 0.5416 GB, free: 6.516 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/0.4412, allocations: 362.7 kB / 0.542 GB, free: 6.363 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4412, allocations: 0 / 0.542 GB, free: 6.363 MB / 410.7 MB Notification: Performance of Templates: time 0.03405/0.4752, allocations: 18.67 MB / 0.5602 GB, free: 9.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.329087753780186]