Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 165.7 kB / 24.99 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2534/0.2534, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.442e-05, allocations: 2.312 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3298/0.3298, allocations: 179.7 MB / 0.5427 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.3332, allocations: 2.142 MB / 0.5447 GB, free: 11.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006065/0.3338, allocations: 20.31 kB / 0.5448 GB, free: 11.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008502/0.3347, allocations: 293.8 kB / 0.545 GB, free: 11.29 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.3375, allocations: 1.23 MB / 0.5462 GB, free: 10.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.3389, allocations: 0.697 MB / 0.5469 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.3405, allocations: 1.504 MB / 0.5484 GB, free: 9.527 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.3411, allocations: 362.9 kB / 0.5487 GB, free: 9.312 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.342, allocations: 0.7876 MB / 0.5495 GB, free: 8.844 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.3424, allocations: 402.3 kB / 0.5499 GB, free: 8.637 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.3425, allocations: 48.38 kB / 0.5499 GB, free: 8.637 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.3437, allocations: 0.6776 MB / 0.5506 GB, free: 8.324 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3438, allocations: 160.7 kB / 0.5508 GB, free: 8.203 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.344, allocations: 242.9 kB / 0.551 GB, free: 8.094 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.3452, allocations: 1.049 MB / 0.552 GB, free: 7.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3452, allocations: 0 / 0.552 GB, free: 7.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3452, allocations: 0 / 0.552 GB, free: 7.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3452, allocations: 0 / 0.552 GB, free: 7.477 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.001202/0.3464, allocations: 1.035 MB / 0.553 GB, free: 6.656 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3464, allocations: 9.125 kB / 0.553 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006571/0.3471, allocations: 210 kB / 0.5532 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.3476, allocations: 418.5 kB / 0.5536 GB, free: 6.227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.3476, allocations: 30.12 kB / 0.5537 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.3476, allocations: 43.41 kB / 0.5537 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.3483, allocations: 0.7995 MB / 0.5545 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3483, allocations: 6.781 kB / 0.5545 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.3484, allocations: 21.59 kB / 0.5545 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3484, allocations: 12.91 kB / 0.5545 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.3487, allocations: 241.4 kB / 0.5547 GB, free: 5.34 MB / 426.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.002103/0.3509, allocations: 2.222 MB / 0.5569 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.3512, allocations: 175.6 kB / 0.5571 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.3514, allocations: 76.23 kB / 0.5572 GB, free: 3.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.3516, allocations: 55.7 kB / 0.5572 GB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3516, allocations: 42.52 kB / 0.5573 GB, free: 3.191 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.185e-06/0.3516, allocations: 4 kB / 0.5573 GB, free: 3.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.00151/0.3531, allocations: 464.8 kB / 0.5577 GB, free: 2.902 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.3532, allocations: 132.5 kB / 0.5578 GB, free: 2.742 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.3535, allocations: 410.6 kB / 0.5582 GB, free: 2.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.3536, allocations: 33.7 kB / 0.5583 GB, free: 2.281 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3537, allocations: 339 kB / 0.5586 GB, free: 1.945 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/0.3538, allocations: 107 kB / 0.5587 GB, free: 1.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.354, allocations: 111.3 kB / 0.5588 GB, free: 1.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3541, allocations: 0.5235 MB / 0.5593 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3543, allocations: 71.94 kB / 0.5594 GB, free: 1.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.3546, allocations: 326.5 kB / 0.5597 GB, free: 0.707 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.355, allocations: 320.1 kB / 0.56 GB, free: 340 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.355, allocations: 4 kB / 0.56 GB, free: 336 kB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007194/0.3558, allocations: 397 kB / 0.5604 GB, free: 15.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3558, allocations: 14.56 kB / 0.5604 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3558, allocations: 4 kB / 0.5604 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.3569, allocations: 215.3 kB / 0.5606 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.3572, allocations: 99.88 kB / 0.5607 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006185/0.3578, allocations: 0.8389 MB / 0.5615 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.358, allocations: 43.72 kB / 0.5615 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.3581, allocations: 43.98 kB / 0.5616 GB, free: 14.64 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.0001762/0.3583, allocations: 176.5 kB / 0.5618 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3584, allocations: 55.72 kB / 0.5618 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.3597, allocations: 0.9381 MB / 0.5627 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3597, allocations: 4 kB / 0.5627 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3597, allocations: 0 / 0.5627 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3597, allocations: 3.938 kB / 0.5627 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/0.3607, allocations: 0.7449 MB / 0.5635 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3607, allocations: 160 / 0.5635 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3609, allocations: 51.91 kB / 0.5635 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008681/0.3617, allocations: 203.4 kB / 0.5637 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.3618, allocations: 11.98 kB / 0.5637 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005718/0.3623, allocations: 0.8428 MB / 0.5645 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.3623, allocations: 4 kB / 0.5645 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.363, allocations: 463.6 kB / 0.565 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.3631, allocations: 39.64 kB / 0.565 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.3632, allocations: 11.95 kB / 0.565 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.3634, allocations: 15.3 kB / 0.565 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.3635, allocations: 27.95 kB / 0.5651 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.3635, allocations: 15.98 kB / 0.5651 GB, free: 10.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002762/0.3638, allocations: 303 kB / 0.5654 GB, free: 10.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3638, allocations: 0 / 0.5654 GB, free: 10.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007895/0.3645, allocations: 235.5 kB / 0.5656 GB, free: 10.36 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 (23): * Single equations (assignments): 22 * 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.0005612/0.3651, allocations: 294.7 kB / 0.5659 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007596/0.3659, allocations: 241.9 kB / 0.5661 GB, free: 9.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3659, allocations: 4 kB / 0.5661 GB, free: 9.816 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3662, allocations: 110 kB / 0.5662 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3672, allocations: 291 kB / 0.5665 GB, free: 9.449 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.3689, allocations: 0.8447 MB / 0.5673 GB, free: 8.559 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.879e-05/0.369, allocations: 117.8 kB / 0.5674 GB, free: 8.422 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008044/0.3698, allocations: 0.5281 MB / 0.5679 GB, free: 7.895 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.37, allocations: 84.44 kB / 0.568 GB, free: 7.812 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/0.37, allocations: 0 / 0.568 GB, free: 7.812 MB / 442.7 MB Notification: Performance of Templates: time 0.01852/0.3885, allocations: 12.91 MB / 0.5806 GB, free: 11.12 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.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.9203000771813095]