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.001083/0.001083, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.0009869/0.0009869, allocations: 163.8 kB / 24.99 MB, free: 9.285 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.9775/0.9775, allocations: 177 MB / 205.2 MB, free: 5.617 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.2703/0.2703, allocations: 34.87 MB / 296.6 MB, free: 464 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.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.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.094e-05, allocations: 2.312 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2912/0.2912, allocations: 179.9 MB / 0.5456 GB, free: 10.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.296, allocations: 3.654 MB / 0.5492 GB, free: 7.641 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.2964, allocations: 20.78 kB / 0.5492 GB, free: 7.629 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008135/0.2972, allocations: 318.6 kB / 0.5495 GB, free: 7.449 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.3003, allocations: 1.793 MB / 0.5513 GB, free: 6.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3013, allocations: 0.7202 MB / 0.552 GB, free: 5.785 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3026, allocations: 1.569 MB / 0.5535 GB, free: 4.863 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.303, allocations: 368.7 kB / 0.5538 GB, free: 4.605 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006596/0.3036, allocations: 0.8025 MB / 0.5546 GB, free: 4.121 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.304, allocations: 406.6 kB / 0.555 GB, free: 3.918 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.304, allocations: 55.59 kB / 0.5551 GB, free: 3.914 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3053, allocations: 1.204 MB / 0.5562 GB, free: 3.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.3054, allocations: 179.7 kB / 0.5564 GB, free: 3.184 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3056, allocations: 251.7 kB / 0.5567 GB, free: 2.957 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3069, allocations: 1.527 MB / 0.5582 GB, free: 1.426 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3069, allocations: 0 / 0.5582 GB, free: 1.426 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3069, allocations: 0 / 0.5582 GB, free: 1.426 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.3069, allocations: 0 / 0.5582 GB, free: 1.426 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.001133/0.3081, allocations: 1.129 MB / 0.5593 GB, free: 264 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.3081, allocations: 15.97 kB / 0.5593 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000666/0.3088, allocations: 215 kB / 0.5595 GB, free: 32 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.3092, allocations: 439.7 kB / 0.5599 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3092, allocations: 29 kB / 0.5599 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.3093, allocations: 51.94 kB / 0.56 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.3099, allocations: 0.8203 MB / 0.5608 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.31, allocations: 11.94 kB / 0.5608 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.31, allocations: 23.05 kB / 0.5608 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.31, allocations: 12 kB / 0.5608 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.3104, allocations: 273.7 kB / 0.5611 GB, free: 14.24 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.001753/0.3121, allocations: 2.276 MB / 0.5633 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.3125, allocations: 208 kB / 0.5635 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3126, allocations: 80.22 kB / 0.5636 GB, free: 11.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.3127, allocations: 60.23 kB / 0.5636 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.3127, allocations: 45.67 kB / 0.5637 GB, free: 11.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.333e-06/0.3127, allocations: 0 / 0.5637 GB, free: 11.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008208/0.3136, allocations: 474.7 kB / 0.5641 GB, free: 11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3136, allocations: 136.5 kB / 0.5643 GB, free: 10.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.3139, allocations: 434.5 kB / 0.5647 GB, free: 10.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3139, allocations: 37.7 kB / 0.5647 GB, free: 10.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3141, allocations: 339.1 kB / 0.565 GB, free: 10.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.3141, allocations: 123 kB / 0.5651 GB, free: 9.891 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3142, allocations: 107.8 kB / 0.5653 GB, free: 9.777 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3144, allocations: 0.5274 MB / 0.5658 GB, free: 9.238 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3145, allocations: 72.95 kB / 0.5658 GB, free: 9.168 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.3147, allocations: 332.3 kB / 0.5662 GB, free: 8.746 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.315, allocations: 323.3 kB / 0.5665 GB, free: 8.367 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.315, allocations: 0 / 0.5665 GB, free: 8.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004984/0.3155, allocations: 408.5 kB / 0.5669 GB, free: 7.957 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3155, allocations: 8 kB / 0.5669 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3155, allocations: 4 kB / 0.5669 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006597/0.3162, allocations: 203.9 kB / 0.5671 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3164, allocations: 99.89 kB / 0.5672 GB, free: 7.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003114/0.3167, allocations: 0.8272 MB / 0.568 GB, free: 6.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.3168, allocations: 43.7 kB / 0.568 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.3169, allocations: 47.98 kB / 0.568 GB, free: 6.695 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.0001269/0.317, allocations: 180.5 kB / 0.5682 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.3171, allocations: 67.61 kB / 0.5683 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.3184, allocations: 0.9746 MB / 0.5692 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3184, allocations: 4 kB / 0.5692 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.3184, allocations: 3.938 kB / 0.5692 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3184, allocations: 7.969 kB / 0.5693 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.319, allocations: 0.7772 MB / 0.57 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3191, allocations: 4 kB / 0.57 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3192, allocations: 47.92 kB / 0.5701 GB, free: 4.547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.3204, allocations: 343.3 kB / 0.5704 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3204, allocations: 8 kB / 0.5704 GB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003128/0.3207, allocations: 0.8351 MB / 0.5712 GB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3207, allocations: 8.797 kB / 0.5712 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.3211, allocations: 449.9 kB / 0.5716 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.3211, allocations: 51.58 kB / 0.5717 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.3212, allocations: 19.83 kB / 0.5717 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3213, allocations: 20.02 kB / 0.5717 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3214, allocations: 23.91 kB / 0.5718 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3214, allocations: 19.98 kB / 0.5718 GB, free: 2.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.3216, allocations: 315 kB / 0.5721 GB, free: 2.398 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3216, allocations: 0 / 0.5721 GB, free: 2.398 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005829/0.3222, allocations: 354.9 kB / 0.5724 GB, free: 2.051 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.0006335/0.3228, allocations: 443.3 kB / 0.5728 GB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.3232, allocations: 250.6 kB / 0.5731 GB, free: 1.363 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3232, allocations: 0 / 0.5731 GB, free: 1.363 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3234, allocations: 119.4 kB / 0.5732 GB, free: 1.242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007494/0.3241, allocations: 315 kB / 0.5735 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3253, allocations: 0.8474 MB / 0.5743 GB, free: 56 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.953e-05/0.3254, allocations: 122.5 kB / 0.5744 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006047/0.326, allocations: 0.5364 MB / 0.575 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3261, allocations: 84.47 kB / 0.575 GB, free: 15.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.173e-06/0.3261, allocations: 0 / 0.575 GB, free: 15.3 MB / 458.7 MB Notification: Performance of Templates: time 0.01796/0.3441, allocations: 16.72 MB / 0.5914 GB, free: 14.81 MB / 474.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: 3.6979320270475]