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.001362/0.001362, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001697/0.001697, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.9617/0.9617, allocations: 177 MB / 205.2 MB, free: 5.066 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.2762/0.2762, allocations: 34.86 MB / 296.6 MB, free: 400 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 1.403e-06/1.403e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.079e-05, allocations: 6.719 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3231/0.3231, allocations: 148.1 MB / 474.1 MB, free: 16.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004674/0.3278, allocations: 3.47 MB / 477.6 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006486/0.3284, allocations: 23.47 kB / 477.6 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.329, allocations: 183.1 kB / 477.8 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.3323, allocations: 1.559 MB / 479.3 MB, free: 16.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3334, allocations: 0.5729 MB / 479.9 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.3351, allocations: 1.532 MB / 481.4 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006008/0.3357, allocations: 377.8 kB / 481.8 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.3367, allocations: 0.7593 MB / 482.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.3374, allocations: 462.4 kB / 483 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3375, allocations: 53.81 kB / 483 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.3396, allocations: 1.039 MB / 484.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.3398, allocations: 171.3 kB / 484.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.3401, allocations: 249.7 kB / 484.5 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.3426, allocations: 1.4 MB / 485.9 MB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3426, allocations: 0 / 485.9 MB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3426, allocations: 0 / 485.9 MB, free: 15.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.3426, allocations: 2.281 kB / 485.9 MB, free: 15.53 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.00145/0.3441, allocations: 0.9698 MB / 486.9 MB, free: 14.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3441, allocations: 10.56 kB / 486.9 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007014/0.3448, allocations: 218.8 kB / 487.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.3454, allocations: 373.6 kB / 487.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.3454, allocations: 36.28 kB / 487.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.3454, allocations: 43.66 kB / 487.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.346, allocations: 0.7423 MB / 488.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.346, allocations: 0 / 488.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.3461, allocations: 29.38 kB / 488.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3461, allocations: 10.56 kB / 488.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.3464, allocations: 216.7 kB / 488.5 MB, free: 14.2 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.001419/0.3478, allocations: 1.555 MB / 490.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.3481, allocations: 161.1 kB / 490.2 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.3482, allocations: 104 kB / 490.3 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.3484, allocations: 90.73 kB / 490.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3485, allocations: 50.17 kB / 490.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.3485, allocations: 0 / 490.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006518/0.3491, allocations: 332.6 kB / 490.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3492, allocations: 136.7 kB / 490.9 MB, free: 12.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3493, allocations: 345.7 kB / 491.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3494, allocations: 34.98 kB / 491.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.3495, allocations: 248.3 kB / 491.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.3495, allocations: 120.9 kB / 491.7 MB, free: 12.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.3496, allocations: 95.45 kB / 491.8 MB, free: 12.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.3497, allocations: 357.4 kB / 492.1 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.3497, allocations: 44.47 kB / 492.2 MB, free: 12.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3499, allocations: 272.9 kB / 492.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3501, allocations: 245.1 kB / 492.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3501, allocations: 2.656 kB / 492.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003281/0.3504, allocations: 270.2 kB / 492.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3504, allocations: 12.5 kB / 492.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3504, allocations: 2.969 kB / 492.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/0.351, allocations: 199.3 kB / 493.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3512, allocations: 90.17 kB / 493.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001936/0.3514, allocations: 0.5436 MB / 493.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.3516, allocations: 37.17 kB / 493.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.3516, allocations: 44.36 kB / 493.9 MB, free: 11.13 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.0001189/0.3517, allocations: 146.6 kB / 494 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.3518, allocations: 39.58 kB / 494 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008919/0.3527, allocations: 0.8605 MB / 494.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3527, allocations: 6.953 kB / 494.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3527, allocations: 1.359 kB / 494.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3527, allocations: 1.688 kB / 494.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.3533, allocations: 0.5612 MB / 495.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3533, allocations: 0 / 495.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3534, allocations: 50.84 kB / 495.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3544, allocations: 317.2 kB / 495.8 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3545, allocations: 6.281 kB / 495.8 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001663/0.3546, allocations: 0.5565 MB / 496.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3546, allocations: 0 / 496.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.3549, allocations: 334 kB / 496.7 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.3549, allocations: 45.38 kB / 496.8 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.3549, allocations: 10.88 kB / 496.8 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.3551, allocations: 12.75 kB / 496.8 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3551, allocations: 27.45 kB / 496.8 MB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.3551, allocations: 14.23 kB / 496.8 MB, free: 9.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3553, allocations: 162.9 kB / 497 MB, free: 9.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3553, allocations: 0 / 497 MB, free: 9.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007491/0.356, allocations: 342.9 kB / 497.3 MB, free: 9.73 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.0006268/0.3566, allocations: 409.8 kB / 497.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.357, allocations: 201.7 kB / 497.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.357, allocations: 5.375 kB / 497.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.3571, allocations: 102 kB / 498 MB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.3577, allocations: 298.4 kB / 498.3 MB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3589, allocations: 0.828 MB / 499.1 MB, free: 9.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.669e-05/0.359, allocations: 130.2 kB / 499.3 MB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005434/0.3595, allocations: 478.7 kB / 499.7 MB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.36, allocations: 307.8 kB / 0.4883 GB, free: 8.648 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.36, allocations: 0 / 0.4883 GB, free: 8.648 MB / 410.7 MB Notification: Performance of Templates: time 0.01933/0.3793, allocations: 17.89 MB / 0.5058 GB, free: 12.52 MB / 426.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.7957196119241416]