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.001404/0.001404, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001023/0.001023, allocations: 164.9 kB / 24.99 MB, free: 8.219 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.9692/0.9692, allocations: 177 MB / 205.2 MB, free: 5.531 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.2511/0.2511, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 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.543e-06/1.543e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.908e-05, allocations: 2.312 kB / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2988/0.2988, allocations: 179.7 MB / 0.5453 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.302, allocations: 2.148 MB / 0.5474 GB, free: 8.805 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.3023, allocations: 20.5 kB / 0.5475 GB, free: 8.793 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.303, allocations: 297.7 kB / 0.5477 GB, free: 8.621 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.3051, allocations: 1.234 MB / 0.5489 GB, free: 7.945 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3062, allocations: 0.6926 MB / 0.5496 GB, free: 7.469 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.3074, allocations: 1.508 MB / 0.5511 GB, free: 6.582 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.3077, allocations: 361.8 kB / 0.5514 GB, free: 6.328 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.3084, allocations: 0.7889 MB / 0.5522 GB, free: 5.844 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.3087, allocations: 393.4 kB / 0.5526 GB, free: 5.648 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.3088, allocations: 48.62 kB / 0.5526 GB, free: 5.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.3097, allocations: 0.6727 MB / 0.5533 GB, free: 5.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3099, allocations: 168.4 kB / 0.5534 GB, free: 5.211 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.3101, allocations: 238.7 kB / 0.5537 GB, free: 5.105 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3111, allocations: 1.053 MB / 0.5547 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3111, allocations: 0 / 0.5547 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3111, allocations: 0 / 0.5547 GB, free: 4.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3111, allocations: 0 / 0.5547 GB, free: 4.484 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.00125/0.3123, allocations: 1.028 MB / 0.5557 GB, free: 3.672 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3124, allocations: 12.7 kB / 0.5557 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/0.3131, allocations: 216.9 kB / 0.5559 GB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.3136, allocations: 415 kB / 0.5563 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3136, allocations: 33.06 kB / 0.5564 GB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.3137, allocations: 44 kB / 0.5564 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.3144, allocations: 0.8008 MB / 0.5572 GB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3144, allocations: 6.125 kB / 0.5572 GB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.3144, allocations: 16 kB / 0.5572 GB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.3144, allocations: 15.94 kB / 0.5572 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.3148, allocations: 245.6 kB / 0.5574 GB, free: 1.953 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.00174/0.3166, allocations: 2.214 MB / 0.5596 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3169, allocations: 181.4 kB / 0.5598 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.317, allocations: 75.75 kB / 0.5599 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.3171, allocations: 51.91 kB / 0.5599 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3172, allocations: 45.38 kB / 0.5599 GB, free: 15.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.3172, allocations: 0 / 0.5599 GB, free: 15.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.001232/0.3184, allocations: 467.4 kB / 0.5604 GB, free: 14.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.3185, allocations: 132.5 kB / 0.5605 GB, free: 14.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3187, allocations: 410.6 kB / 0.5609 GB, free: 14.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.3188, allocations: 33.7 kB / 0.5609 GB, free: 14.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3189, allocations: 335 kB / 0.5613 GB, free: 13.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.319, allocations: 111.1 kB / 0.5614 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3191, allocations: 111.3 kB / 0.5615 GB, free: 13.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3193, allocations: 0.5274 MB / 0.562 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3194, allocations: 63.94 kB / 0.562 GB, free: 13.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3196, allocations: 330.6 kB / 0.5624 GB, free: 12.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.32, allocations: 319 kB / 0.5627 GB, free: 12.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.32, allocations: 0 / 0.5627 GB, free: 12.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005444/0.3205, allocations: 401.6 kB / 0.5631 GB, free: 11.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3205, allocations: 7.984 kB / 0.5631 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3205, allocations: 4 kB / 0.5631 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009072/0.3215, allocations: 219.8 kB / 0.5633 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.3217, allocations: 95.88 kB / 0.5634 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005151/0.3222, allocations: 0.8389 MB / 0.5642 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3224, allocations: 43.72 kB / 0.5642 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.3224, allocations: 51.39 kB / 0.5643 GB, free: 10.57 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.0001447/0.3226, allocations: 176.5 kB / 0.5644 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.3226, allocations: 55.72 kB / 0.5645 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3237, allocations: 0.9268 MB / 0.5654 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3237, allocations: 7.938 kB / 0.5654 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3237, allocations: 0 / 0.5654 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3237, allocations: 0 / 0.5654 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.3245, allocations: 0.7527 MB / 0.5661 GB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3245, allocations: 4 kB / 0.5661 GB, free: 8.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3246, allocations: 46.66 kB / 0.5662 GB, free: 8.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007105/0.3253, allocations: 207.5 kB / 0.5664 GB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.3254, allocations: 11.98 kB / 0.5664 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004915/0.3258, allocations: 0.8468 MB / 0.5672 GB, free: 7.406 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3259, allocations: 4.484 kB / 0.5672 GB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.3264, allocations: 460.6 kB / 0.5677 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.3264, allocations: 39.64 kB / 0.5677 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.3265, allocations: 11.95 kB / 0.5677 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3266, allocations: 20.02 kB / 0.5677 GB, free: 6.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.3267, allocations: 23.95 kB / 0.5678 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.3267, allocations: 15.98 kB / 0.5678 GB, free: 6.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002116/0.3269, allocations: 307 kB / 0.5681 GB, free: 6.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3269, allocations: 0 / 0.5681 GB, free: 6.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.3275, allocations: 227.5 kB / 0.5683 GB, free: 6.277 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.0004332/0.3279, allocations: 294.7 kB / 0.5686 GB, free: 5.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005925/0.3285, allocations: 249.7 kB / 0.5688 GB, free: 5.734 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3285, allocations: 0 / 0.5688 GB, free: 5.734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.3288, allocations: 106.5 kB / 0.5689 GB, free: 5.629 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.3295, allocations: 300.7 kB / 0.5692 GB, free: 5.363 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3309, allocations: 0.8274 MB / 0.57 GB, free: 4.484 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.3309, allocations: 121.8 kB / 0.5701 GB, free: 4.348 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006006/0.3316, allocations: 0.5348 MB / 0.5706 GB, free: 3.812 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.3317, allocations: 88.44 kB / 0.5707 GB, free: 3.727 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/0.3317, allocations: 4 kB / 0.5707 GB, free: 3.723 MB / 442.7 MB Notification: Performance of Templates: time 0.0139/0.3456, allocations: 12.89 MB / 0.5833 GB, free: 7.051 MB / 458.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.7899392768740654]