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.001709/0.001709, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001955/0.001955, allocations: 207.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2471/0.2471, allocations: 46.95 MB / 360.8 MB, free: 3.945 MB / 286.1 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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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 0.002375/0.002375, allocations: 79.88 kB / 0.4967 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4022, allocations: 66.09 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2494/0.6516, allocations: 161.5 MB / 0.7189 GB, free: 1.844 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004857/0.6564, allocations: 2.045 MB / 0.7209 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007406/0.6572, allocations: 19.81 kB / 0.7209 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.6584, allocations: 282 kB / 0.7212 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.6625, allocations: 1.207 MB / 0.7224 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.6648, allocations: 0.6872 MB / 0.7231 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.6673, allocations: 1.504 MB / 0.7245 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.6682, allocations: 355.8 kB / 0.7249 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.6696, allocations: 0.5877 MB / 0.7254 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.6706, allocations: 434.2 kB / 0.7258 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.6708, allocations: 48 kB / 0.7259 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.6732, allocations: 0.6822 MB / 0.7266 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.6735, allocations: 155.4 kB / 0.7267 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.6742, allocations: 278.8 kB / 0.727 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.6767, allocations: 1.203 MB / 0.7281 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6767, allocations: 0 / 0.7281 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6767, allocations: 0 / 0.7281 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.13e-05/0.6768, allocations: 4 kB / 0.7282 GB, free: 8.363 MB / 0.5606 GB 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.002794/0.6796, allocations: 0.9286 MB / 0.7291 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6796, allocations: 8.031 kB / 0.7291 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6808, allocations: 143.5 kB / 0.7292 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.6819, allocations: 397.7 kB / 0.7296 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.6819, allocations: 29 kB / 0.7296 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.682, allocations: 36 kB / 0.7296 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.6836, allocations: 0.8644 MB / 0.7305 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.6836, allocations: 0 / 0.7305 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.6837, allocations: 27.94 kB / 0.7305 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.6837, allocations: 8 kB / 0.7305 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.6847, allocations: 407.6 kB / 0.7309 GB, free: 5.359 MB / 0.5606 GB 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.003304/0.688, allocations: 1.79 MB / 0.7327 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.6887, allocations: 278.6 kB / 0.7329 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.689, allocations: 145 kB / 0.7331 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.6892, allocations: 47.91 kB / 0.7331 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.6892, allocations: 38.56 kB / 0.7331 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.6892, allocations: 0 / 0.7331 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002589/0.6918, allocations: 0.6228 MB / 0.7338 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.692, allocations: 136.5 kB / 0.7339 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.6925, allocations: 377.6 kB / 0.7342 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.6926, allocations: 29.7 kB / 0.7343 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.6929, allocations: 288.3 kB / 0.7346 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.693, allocations: 107.1 kB / 0.7347 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.6932, allocations: 105.6 kB / 0.7348 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.6934, allocations: 358.8 kB / 0.7351 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.6938, allocations: 143.9 kB / 0.7352 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.6944, allocations: 354.7 kB / 0.7356 GB, free: 368 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2897/0.9841, allocations: 417.7 kB / 0.736 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.9841, allocations: 1.125 kB / 0.736 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00156/0.9857, allocations: 0.5189 MB / 0.7365 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9857, allocations: 6.625 kB / 0.7365 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.9857, allocations: 3.656 kB / 0.7365 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.9879, allocations: 273.8 kB / 0.7367 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.9884, allocations: 104.7 kB / 0.7368 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.9894, allocations: 0.6027 MB / 0.7374 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.99, allocations: 39.34 kB / 0.7375 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.9901, allocations: 51.44 kB / 0.7375 GB, free: 175.3 MB / 0.5606 GB 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.0004041/0.9905, allocations: 179.2 kB / 0.7377 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.9906, allocations: 44.89 kB / 0.7377 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.9934, allocations: 1.02 MB / 0.7387 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.9934, allocations: 3.156 kB / 0.7387 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9934, allocations: 0 / 0.7387 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9934, allocations: 2.359 kB / 0.7387 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.995, allocations: 0.8315 MB / 0.7395 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.995, allocations: 4.859 kB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.9952, allocations: 48.8 kB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.9968, allocations: 260.6 kB / 0.7398 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.9968, allocations: 13.75 kB / 0.7399 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006982/0.9975, allocations: 0.6054 MB / 0.7405 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9975, allocations: 3.75 kB / 0.7405 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.9986, allocations: 0.4947 MB / 0.7409 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.9986, allocations: 47.75 kB / 0.741 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/0.9987, allocations: 6.938 kB / 0.741 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.999, allocations: 18.77 kB / 0.741 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.9991, allocations: 25.78 kB / 0.741 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.9992, allocations: 18.72 kB / 0.7411 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002973/0.9995, allocations: 301.7 kB / 0.7413 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9995, allocations: 3.625 kB / 0.7413 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007042/1, allocations: 240.2 kB / 0.7416 GB, free: 173.3 MB / 0.5606 GB 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.0004779/1.001, allocations: 278.7 kB / 0.7418 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001322/1.002, allocations: 361.9 kB / 0.7422 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.002, allocations: 0 / 0.7422 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006233/1.003, allocations: 153.4 kB / 0.7423 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.004, allocations: 282.3 kB / 0.7426 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/1.006, allocations: 0.8928 MB / 0.7435 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/1.006, allocations: 250 kB / 0.7437 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007717/1.007, allocations: 0.536 MB / 0.7442 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/1.007, allocations: 83.38 kB / 0.7443 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/1.007, allocations: 0 / 0.7443 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01786/1.025, allocations: 13.76 MB / 0.7577 GB, free: 157.2 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.37647913955152]