Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001116/0.001116, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001702/0.002818, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009654/0.0009654, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002405, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9776/0.9776, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08954/1.067, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.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.275/0.275, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02569/0.3007, allocations: 13.23 MB / 292.8 MB, free: 6.355 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.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.152e-05, allocations: 2.312 kB / 294.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.1378/0.1378, allocations: 148.4 MB / 442.5 MB, free: 60 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.196/0.3338, allocations: 2.07 MB / 444.6 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.3341, allocations: 22.25 kB / 444.6 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.3345, allocations: 167.7 kB / 444.8 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.3362, allocations: 0.9789 MB / 445.8 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.3371, allocations: 0.5368 MB / 446.3 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.3385, allocations: 1.48 MB / 447.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.339, allocations: 360.5 kB / 448.1 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.3399, allocations: 0.7951 MB / 448.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.3404, allocations: 388.4 kB / 449.3 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.3405, allocations: 46.41 kB / 449.3 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009787/0.3415, allocations: 0.6396 MB / 450 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3416, allocations: 119.3 kB / 450.1 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.3418, allocations: 195.6 kB / 450.3 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00098/0.3428, allocations: 0.8487 MB / 451.1 MB, free: 3.379 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.3428, allocations: 3.094 kB / 451.1 MB, free: 3.379 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3428, allocations: 2.125 kB / 451.1 MB, free: 3.379 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.3428, allocations: 0 / 451.1 MB, free: 3.379 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001376/0.3442, allocations: 1.127 MB / 452.3 MB, free: 18.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.3442, allocations: 13.27 kB / 452.3 MB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/0.3447, allocations: 215.8 kB / 452.5 MB, free: 18.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.3451, allocations: 359.4 kB / 452.8 MB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3452, allocations: 27.22 kB / 452.9 MB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.3452, allocations: 45.88 kB / 452.9 MB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.3457, allocations: 0.7308 MB / 453.6 MB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3457, allocations: 0.9375 kB / 453.6 MB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.3458, allocations: 19.47 kB / 453.7 MB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3458, allocations: 12 kB / 453.7 MB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.346, allocations: 184 kB / 453.9 MB, free: 18.05 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.00123/0.3472, allocations: 1.522 MB / 455.4 MB, free: 17.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.3475, allocations: 131.5 kB / 455.5 MB, free: 17.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/0.3475, allocations: 59.75 kB / 455.6 MB, free: 17.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.3477, allocations: 92.89 kB / 455.7 MB, free: 17.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3477, allocations: 37.5 kB / 455.7 MB, free: 16.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.3477, allocations: 0 / 455.7 MB, free: 16.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007705/0.3485, allocations: 346.5 kB / 456 MB, free: 16.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.3485, allocations: 60.88 kB / 456.1 MB, free: 16.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3487, allocations: 339.2 kB / 456.4 MB, free: 16.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.3487, allocations: 37.7 kB / 456.5 MB, free: 16.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.3488, allocations: 247 kB / 456.7 MB, free: 16.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.3489, allocations: 103.7 kB / 456.8 MB, free: 16.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/0.349, allocations: 99.23 kB / 456.9 MB, free: 16.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.3491, allocations: 356 kB / 457.2 MB, free: 16.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/0.3491, allocations: 45.91 kB / 457.3 MB, free: 16.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.3493, allocations: 259 kB / 457.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.3495, allocations: 247.8 kB / 457.8 MB, free: 15.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3495, allocations: 0.8125 kB / 457.8 MB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000295/0.3498, allocations: 266.5 kB / 458 MB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3498, allocations: 12.83 kB / 458.1 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3498, allocations: 2.062 kB / 458.1 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000745/0.3505, allocations: 217.6 kB / 458.3 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3508, allocations: 123.9 kB / 458.4 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003577/0.3511, allocations: 0.5468 MB / 458.9 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.3513, allocations: 37.81 kB / 459 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.3513, allocations: 41.8 kB / 459 MB, free: 15.19 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.3515, allocations: 141.7 kB / 459.2 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.3515, allocations: 40.27 kB / 459.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007953/0.3523, allocations: 0.8117 MB / 460 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3523, allocations: 8.406 kB / 460 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3523, allocations: 4.906 kB / 460 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3523, allocations: 0 / 460 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.3529, allocations: 0.5498 MB / 460.6 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3529, allocations: 4.219 kB / 460.6 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3531, allocations: 56.48 kB / 460.6 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.3531, allocations: 39.92 kB / 460.7 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005628/0.3537, allocations: 188.9 kB / 460.9 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.3537, allocations: 10.27 kB / 460.9 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003256/0.354, allocations: 0.5527 MB / 461.4 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.354, allocations: 7.438 kB / 461.4 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3543, allocations: 310.4 kB / 461.7 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.3543, allocations: 13.17 kB / 461.7 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3545, allocations: 18.25 kB / 461.8 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3545, allocations: 23.27 kB / 461.8 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.3545, allocations: 15.3 kB / 461.8 MB, free: 13.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3546, allocations: 161 kB / 462 MB, free: 13.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3546, allocations: 1.094 kB / 462 MB, free: 13.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005085/0.3551, allocations: 234.7 kB / 462.2 MB, free: 13.87 MB / 442.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 (24): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0004169/0.3556, allocations: 278 kB / 462.5 MB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.356, allocations: 195.9 kB / 462.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.356, allocations: 6.062 kB / 462.7 MB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.3562, allocations: 108.8 kB / 462.8 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3573, allocations: 1.575 MB / 464.3 MB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.3621, allocations: 0.8517 MB / 465.2 MB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.467e-05/0.3622, allocations: 122.8 kB / 465.3 MB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005409/0.3627, allocations: 469.6 kB / 465.8 MB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.3632, allocations: 292.2 kB / 466 MB, free: 11.67 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3632, allocations: 3.969 kB / 466.1 MB, free: 11.67 MB / 442.7 MB Notification: Performance of Templates: time 0.01843/0.3816, allocations: 14.88 MB / 480.9 MB, free: 10.18 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5518439412117004]