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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 186.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.23/0.23, allocations: 44.91 MB / 353.5 MB, free: 11.87 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.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_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.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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003254/0.003254, allocations: 63.89 kB / 497.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.34, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2344/0.5744, allocations: 183.7 MB / 0.7282 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004673/0.5791, allocations: 2.15 MB / 0.7303 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006733/0.5797, allocations: 23.75 kB / 0.7304 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009989/0.5807, allocations: 306 kB / 0.7307 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.5848, allocations: 1.203 MB / 0.7318 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.5868, allocations: 0.6969 MB / 0.7325 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002464/0.5893, allocations: 1.504 MB / 0.734 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005926/0.5899, allocations: 344 kB / 0.7343 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009523/0.5909, allocations: 0.5878 MB / 0.7349 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3742/0.9651, allocations: 455.1 kB / 0.7353 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.9654, allocations: 48.62 kB / 0.7354 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.9682, allocations: 0.8086 MB / 0.7362 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.9685, allocations: 153.8 kB / 0.7363 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006697/0.9691, allocations: 326.7 kB / 0.7366 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.9722, allocations: 1.214 MB / 0.7378 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9722, allocations: 0 / 0.7378 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9722, allocations: 0 / 0.7378 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.9722, allocations: 0 / 0.7378 GB, free: 3.707 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.002369/0.9746, allocations: 0.9333 MB / 0.7387 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.9746, allocations: 11.19 kB / 0.7387 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.9758, allocations: 134 kB / 0.7388 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.9767, allocations: 402 kB / 0.7392 GB, free: 18.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.9767, allocations: 27.91 kB / 0.7393 GB, free: 18.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.9768, allocations: 46.16 kB / 0.7393 GB, free: 18.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.9779, allocations: 0.5455 MB / 0.7398 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.9779, allocations: 6.828 kB / 0.7398 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.978, allocations: 21.94 kB / 0.7399 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.978, allocations: 11.78 kB / 0.7399 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000893/0.9789, allocations: 408 kB / 0.7403 GB, free: 18.87 MB / 0.5762 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.003207/0.9821, allocations: 2.544 MB / 0.7427 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.9827, allocations: 271.2 kB / 0.743 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.983, allocations: 132.8 kB / 0.7431 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.9832, allocations: 46.38 kB / 0.7432 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.9833, allocations: 42.22 kB / 0.7432 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.625e-06/0.9833, allocations: 1.094 kB / 0.7432 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002385/0.9856, allocations: 0.6324 MB / 0.7438 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.9858, allocations: 140 kB / 0.744 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.9863, allocations: 439.5 kB / 0.7444 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.9863, allocations: 32.67 kB / 0.7444 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.9865, allocations: 286 kB / 0.7447 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.544e-05/0.9866, allocations: 110.5 kB / 0.7448 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.9868, allocations: 96.47 kB / 0.7449 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.9871, allocations: 358.7 kB / 0.7452 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.9874, allocations: 145.9 kB / 0.7454 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.9878, allocations: 274.5 kB / 0.7456 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.9886, allocations: 418.6 kB / 0.746 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.9886, allocations: 0 / 0.746 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001195/0.9898, allocations: 0.5351 MB / 0.7465 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.9899, allocations: 8.859 kB / 0.7466 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9899, allocations: 4.5 kB / 0.7466 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.992, allocations: 268.7 kB / 0.7468 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.9924, allocations: 101.3 kB / 0.7469 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009518/0.9933, allocations: 0.6029 MB / 0.7475 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.9938, allocations: 48.03 kB / 0.7475 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/0.9939, allocations: 51.98 kB / 0.7476 GB, free: 15.23 MB / 0.5762 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.0003291/0.9942, allocations: 184.6 kB / 0.7478 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.9943, allocations: 52.45 kB / 0.7478 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.9964, allocations: 1.026 MB / 0.7488 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.9964, allocations: 7.469 kB / 0.7488 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.9964, allocations: 0.75 kB / 0.7488 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9965, allocations: 0.875 kB / 0.7488 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.9983, allocations: 0.9445 MB / 0.7498 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9983, allocations: 4.375 kB / 0.7498 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.9986, allocations: 50.02 kB / 0.7498 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/1, allocations: 257.3 kB / 0.7501 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/1, allocations: 12.05 kB / 0.7501 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/1.001, allocations: 0.6026 MB / 0.7507 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.001, allocations: 5.125 kB / 0.7507 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/1.003, allocations: 0.5084 MB / 0.7512 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/1.003, allocations: 55.11 kB / 0.7512 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.003, allocations: 12.98 kB / 0.7512 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/1.003, allocations: 22.73 kB / 0.7512 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/1.004, allocations: 29.53 kB / 0.7513 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/1.004, allocations: 18.94 kB / 0.7513 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004936/1.004, allocations: 388 kB / 0.7517 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.004, allocations: 0 / 0.7517 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009311/1.005, allocations: 218.1 kB / 0.7519 GB, free: 13.73 MB / 0.5762 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.0009271/1.006, allocations: 293.4 kB / 0.7521 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001561/1.008, allocations: 359.4 kB / 0.7525 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.008, allocations: 0 / 0.7525 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007017/1.008, allocations: 159.9 kB / 0.7526 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.01, allocations: 350.7 kB / 0.753 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/1.012, allocations: 0.9178 MB / 0.7539 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/1.012, allocations: 0.8522 MB / 0.7547 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001006/1.013, allocations: 0.5403 MB / 0.7552 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/1.014, allocations: 91.95 kB / 0.7553 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/1.014, allocations: 1.031 kB / 0.7553 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of Templates: time 0.02472/1.038, allocations: 14.48 MB / 0.7695 GB, free: 11.54 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.494777938351035]