Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001493/0.001493, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.002011/0.002011, allocations: 160.5 kB / 24.99 MB, free: 9.305 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/3.012e-05, allocations: 6.312 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3237/0.3238, allocations: 179.7 MB / 0.5446 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.327, allocations: 2.138 MB / 0.5467 GB, free: 9.332 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.3273, allocations: 24.53 kB / 0.5467 GB, free: 9.316 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.3279, allocations: 298.3 kB / 0.547 GB, free: 9.145 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.3302, allocations: 1.23 MB / 0.5482 GB, free: 8.469 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3315, allocations: 0.6911 MB / 0.5489 GB, free: 8.098 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.3329, allocations: 1.509 MB / 0.5504 GB, free: 7.211 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.3334, allocations: 361.5 kB / 0.5507 GB, free: 6.961 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.3344, allocations: 0.7836 MB / 0.5515 GB, free: 6.484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.3348, allocations: 401 kB / 0.5519 GB, free: 6.281 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.3349, allocations: 45.59 kB / 0.5519 GB, free: 6.281 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.336, allocations: 0.683 MB / 0.5526 GB, free: 5.965 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3361, allocations: 160.6 kB / 0.5527 GB, free: 5.844 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.3363, allocations: 242.9 kB / 0.553 GB, free: 5.734 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.3378, allocations: 1.049 MB / 0.554 GB, free: 5.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3378, allocations: 0 / 0.554 GB, free: 5.117 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3378, allocations: 4 kB / 0.554 GB, free: 5.113 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3378, allocations: 0 / 0.554 GB, free: 5.113 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.001462/0.3393, allocations: 1.029 MB / 0.555 GB, free: 4.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3393, allocations: 11.53 kB / 0.555 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007614/0.3401, allocations: 209.6 kB / 0.5552 GB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.3406, allocations: 419 kB / 0.5556 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3406, allocations: 29.91 kB / 0.5556 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.3407, allocations: 47.66 kB / 0.5557 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.3415, allocations: 0.8038 MB / 0.5565 GB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3415, allocations: 0 / 0.5565 GB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.3415, allocations: 18.31 kB / 0.5565 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3415, allocations: 14.69 kB / 0.5565 GB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.3423, allocations: 241.7 kB / 0.5567 GB, free: 2.824 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.001774/0.3441, allocations: 2.213 MB / 0.5589 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.3444, allocations: 184.1 kB / 0.5591 GB, free: 344 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3445, allocations: 75.89 kB / 0.5591 GB, free: 264 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.3447, allocations: 51.95 kB / 0.5592 GB, free: 212 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3447, allocations: 41.39 kB / 0.5592 GB, free: 160 kB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.3447, allocations: 0 / 0.5592 GB, free: 160 kB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.001335/0.3461, allocations: 470.4 kB / 0.5597 GB, free: 15.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3461, allocations: 132.5 kB / 0.5598 GB, free: 15.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3464, allocations: 410.6 kB / 0.5602 GB, free: 15.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.3464, allocations: 29.7 kB / 0.5602 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.3466, allocations: 339 kB / 0.5605 GB, free: 14.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.3467, allocations: 107.1 kB / 0.5606 GB, free: 14.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3468, allocations: 107.3 kB / 0.5607 GB, free: 14.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3469, allocations: 0.5274 MB / 0.5613 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3471, allocations: 67.94 kB / 0.5613 GB, free: 13.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3473, allocations: 326.6 kB / 0.5616 GB, free: 13.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.3477, allocations: 324.1 kB / 0.5619 GB, free: 13.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3477, allocations: 3.625 kB / 0.5619 GB, free: 13.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005575/0.3482, allocations: 408.7 kB / 0.5623 GB, free: 12.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3482, allocations: 8 kB / 0.5623 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3482, allocations: 4 kB / 0.5624 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009283/0.3492, allocations: 215.7 kB / 0.5626 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.3494, allocations: 107.8 kB / 0.5627 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005353/0.3499, allocations: 0.8312 MB / 0.5635 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.3501, allocations: 43.72 kB / 0.5635 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.3502, allocations: 43.98 kB / 0.5636 GB, free: 11.43 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.0002958/0.3504, allocations: 176.5 kB / 0.5637 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.3505, allocations: 55.72 kB / 0.5638 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.3516, allocations: 0.9388 MB / 0.5647 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3516, allocations: 4 kB / 0.5647 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3516, allocations: 0 / 0.5647 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3516, allocations: 3.938 kB / 0.5647 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.3524, allocations: 0.7497 MB / 0.5654 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3524, allocations: 0 / 0.5654 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.3525, allocations: 51.91 kB / 0.5655 GB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/0.3532, allocations: 203.5 kB / 0.5657 GB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.3532, allocations: 15.86 kB / 0.5657 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004865/0.3537, allocations: 0.8428 MB / 0.5665 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3537, allocations: 4 kB / 0.5665 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.3543, allocations: 454.6 kB / 0.567 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.3543, allocations: 39.64 kB / 0.567 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.3544, allocations: 15.95 kB / 0.567 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3546, allocations: 11.98 kB / 0.567 GB, free: 7.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.3546, allocations: 31.89 kB / 0.567 GB, free: 7.676 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3546, allocations: 16.02 kB / 0.5671 GB, free: 7.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002135/0.3549, allocations: 307 kB / 0.5674 GB, free: 7.363 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3549, allocations: 0 / 0.5674 GB, free: 7.363 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000523/0.3554, allocations: 227.5 kB / 0.5676 GB, free: 7.141 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.0004551/0.3558, allocations: 298.7 kB / 0.5679 GB, free: 6.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.3565, allocations: 242.8 kB / 0.5681 GB, free: 6.602 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3565, allocations: 4 kB / 0.5681 GB, free: 6.598 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.3567, allocations: 109 kB / 0.5682 GB, free: 6.488 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.3575, allocations: 291.4 kB / 0.5685 GB, free: 6.234 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3588, allocations: 0.8379 MB / 0.5693 GB, free: 5.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.504e-05/0.3589, allocations: 121.8 kB / 0.5694 GB, free: 5.207 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006561/0.3596, allocations: 0.5304 MB / 0.5699 GB, free: 4.684 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3598, allocations: 92.38 kB / 0.57 GB, free: 4.594 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3598, allocations: 0 / 0.57 GB, free: 4.594 MB / 442.7 MB Notification: Performance of Templates: time 0.01385/0.3736, allocations: 12.9 MB / 0.5826 GB, free: 7.914 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.9841902679763734]