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.001402/0.001402, allocations: 88.86 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.001593/0.001593, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9264/0.9264, allocations: 177 MB / 205.2 MB, free: 5.035 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.2634/0.2634, allocations: 34.86 MB / 296.6 MB, free: 396 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.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.903e-06/1.903e-06, allocations: 0 / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.686e-05, allocations: 8.984 kB / 325.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3263/0.3263, allocations: 147.9 MB / 473.9 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.3293, allocations: 2.058 MB / 475.9 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.3297, allocations: 20.59 kB / 475.9 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.3302, allocations: 162.8 kB / 476.1 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.3323, allocations: 1.017 MB / 477.1 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.3333, allocations: 0.5501 MB / 477.7 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.3348, allocations: 1.478 MB / 479.1 MB, free: 16.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.3353, allocations: 361 kB / 479.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009268/0.3362, allocations: 0.7481 MB / 480.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005218/0.3367, allocations: 381.8 kB / 480.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.3368, allocations: 46.94 kB / 480.7 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.3379, allocations: 0.6008 MB / 481.3 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.338, allocations: 159.4 kB / 481.4 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.3382, allocations: 239.7 kB / 481.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.3394, allocations: 0.9702 MB / 482.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3394, allocations: 2.438 kB / 482.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3394, allocations: 4 kB / 482.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.3394, allocations: 2.5 kB / 482.6 MB, free: 15.68 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001105/0.3405, allocations: 0.8701 MB / 483.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3405, allocations: 11.28 kB / 483.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000581/0.3411, allocations: 215 kB / 483.7 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.3415, allocations: 365.1 kB / 484.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3416, allocations: 29.47 kB / 484.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.3416, allocations: 52.34 kB / 484.2 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.3421, allocations: 0.7242 MB / 484.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3421, allocations: 5.312 kB / 484.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3421, allocations: 20.06 kB / 484.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.3422, allocations: 11.12 kB / 484.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.3424, allocations: 179.6 kB / 485.1 MB, free: 14.42 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.001223/0.3436, allocations: 1.513 MB / 486.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.3438, allocations: 132.6 kB / 486.7 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.3439, allocations: 60.81 kB / 486.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.3441, allocations: 90.5 kB / 486.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3442, allocations: 40.41 kB / 486.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.3442, allocations: 0 / 486.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009573/0.3451, allocations: 363.3 kB / 487.3 MB, free: 13.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.3451, allocations: 131.5 kB / 487.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.3453, allocations: 343.9 kB / 487.7 MB, free: 13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.3454, allocations: 31.36 kB / 487.8 MB, free: 12.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.3454, allocations: 241 kB / 488 MB, free: 12.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.3455, allocations: 109.8 kB / 488.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3456, allocations: 93.42 kB / 488.2 MB, free: 12.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.3456, allocations: 358.5 kB / 488.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.3457, allocations: 49.69 kB / 488.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.3459, allocations: 264.2 kB / 488.9 MB, free: 12.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.3462, allocations: 239.5 kB / 489.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3462, allocations: 0 / 489.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003333/0.3465, allocations: 265.7 kB / 489.4 MB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3465, allocations: 9.094 kB / 489.4 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3466, allocations: 5.281 kB / 489.4 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.3473, allocations: 206.1 kB / 489.6 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.3475, allocations: 98.66 kB / 489.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003171/0.3478, allocations: 0.5469 MB / 490.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.348, allocations: 30.41 kB / 490.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.348, allocations: 38.39 kB / 490.3 MB, free: 11.43 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 (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.0001338/0.3482, allocations: 142.4 kB / 490.4 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.3482, allocations: 35.06 kB / 490.5 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.3491, allocations: 0.8249 MB / 491.3 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3491, allocations: 2.062 kB / 491.3 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3491, allocations: 0 / 491.3 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3491, allocations: 0 / 491.3 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.3497, allocations: 0.5508 MB / 491.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3497, allocations: 3.031 kB / 491.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.3498, allocations: 46.23 kB / 491.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005699/0.3504, allocations: 193.5 kB / 492.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3504, allocations: 9.719 kB / 492.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002836/0.3507, allocations: 0.5484 MB / 492.6 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3507, allocations: 10.78 kB / 492.6 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.351, allocations: 316.6 kB / 493 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.351, allocations: 36.61 kB / 493 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.351, allocations: 21.23 kB / 493 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3512, allocations: 11.44 kB / 493 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3512, allocations: 23.61 kB / 493 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3513, allocations: 18.48 kB / 493.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.3514, allocations: 159.7 kB / 493.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3514, allocations: 4 kB / 493.2 MB, free: 10.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005229/0.3519, allocations: 223.8 kB / 493.4 MB, free: 10.07 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 (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.0003807/0.3523, allocations: 253.1 kB / 493.7 MB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.3527, allocations: 195.4 kB / 493.9 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.3527, allocations: 5.75 kB / 493.9 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.353, allocations: 92.3 kB / 494 MB, free: 9.953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.3536, allocations: 290.5 kB / 494.3 MB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.3548, allocations: 0.8376 MB / 495.1 MB, free: 9.453 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.798e-05/0.3549, allocations: 117.5 kB / 495.2 MB, free: 9.383 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005552/0.3555, allocations: 471.3 kB / 495.7 MB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.3559, allocations: 290.8 kB / 496 MB, free: 9.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3559, allocations: 0 / 496 MB, free: 9.25 MB / 410.7 MB Notification: Performance of Templates: time 0.01484/0.3708, allocations: 13.96 MB / 0.498 GB, free: 2.641 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7630290621891618]