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.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.001735/0.001735, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002093/0.002093, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2199/0.2199, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.331, allocations: 65.46 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5224/0.8535, allocations: 186.6 MB / 0.7405 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003995/0.8575, allocations: 2.156 MB / 0.7426 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005548/0.858, allocations: 21.47 kB / 0.7426 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008841/0.8589, allocations: 305 kB / 0.7429 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.8621, allocations: 1.204 MB / 0.7441 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.8637, allocations: 0.6962 MB / 0.7448 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.8654, allocations: 1.5 MB / 0.7463 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.8659, allocations: 355.2 kB / 0.7466 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007994/0.8667, allocations: 0.5878 MB / 0.7472 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.8672, allocations: 462.3 kB / 0.7476 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.8673, allocations: 47.94 kB / 0.7477 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.8688, allocations: 0.816 MB / 0.7484 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.869, allocations: 160 kB / 0.7486 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.8693, allocations: 325.3 kB / 0.7489 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.8707, allocations: 1.221 MB / 0.7501 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8707, allocations: 0 / 0.7501 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8707, allocations: 0.7812 kB / 0.7501 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.8707, allocations: 0 / 0.7501 GB, free: 1.629 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.001679/0.8724, allocations: 0.9307 MB / 0.751 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.8724, allocations: 11.34 kB / 0.751 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009267/0.8734, allocations: 136.8 kB / 0.7512 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.8741, allocations: 405 kB / 0.7515 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.8741, allocations: 30.97 kB / 0.7516 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.8742, allocations: 38.09 kB / 0.7516 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/0.875, allocations: 0.5536 MB / 0.7521 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.875, allocations: 1.094 kB / 0.7521 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.8751, allocations: 20.31 kB / 0.7522 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.8751, allocations: 11.09 kB / 0.7522 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/0.8758, allocations: 411.5 kB / 0.7526 GB, free: 16.77 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.002762/0.8786, allocations: 2.532 MB / 0.755 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.8791, allocations: 279.1 kB / 0.7553 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.8793, allocations: 135.2 kB / 0.7554 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.8795, allocations: 44.83 kB / 0.7555 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.8795, allocations: 45.47 kB / 0.7555 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.8795, allocations: 0 / 0.7555 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.00218/0.8817, allocations: 0.6278 MB / 0.7561 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.8818, allocations: 132.2 kB / 0.7563 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.8823, allocations: 446.8 kB / 0.7567 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.8823, allocations: 36.14 kB / 0.7567 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.8825, allocations: 274.9 kB / 0.757 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.8826, allocations: 111.9 kB / 0.7571 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.8827, allocations: 107.6 kB / 0.7572 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.8829, allocations: 353.6 kB / 0.7575 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.8832, allocations: 145.4 kB / 0.7577 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.8836, allocations: 279.6 kB / 0.7579 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.8844, allocations: 427.9 kB / 0.7583 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8844, allocations: 8.344 kB / 0.7584 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001091/0.8855, allocations: 0.5241 MB / 0.7589 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8855, allocations: 5.938 kB / 0.7589 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8855, allocations: 5 kB / 0.7589 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.8874, allocations: 269.5 kB / 0.7591 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.8878, allocations: 102.9 kB / 0.7592 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009236/0.8887, allocations: 0.6047 MB / 0.7598 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.8891, allocations: 48.53 kB / 0.7599 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.8892, allocations: 49.41 kB / 0.7599 GB, free: 13.12 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.0002744/0.8895, allocations: 180.2 kB / 0.7601 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.8896, allocations: 52.05 kB / 0.7601 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.8914, allocations: 1.039 MB / 0.7612 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8914, allocations: 3.25 kB / 0.7612 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8914, allocations: 0.8438 kB / 0.7612 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8914, allocations: 2.906 kB / 0.7612 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.893, allocations: 0.941 MB / 0.7621 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.893, allocations: 2.531 kB / 0.7621 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.8933, allocations: 51.17 kB / 0.7621 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.895, allocations: 255.8 kB / 0.7624 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.895, allocations: 16.47 kB / 0.7624 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009302/0.8959, allocations: 0.5996 MB / 0.763 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8959, allocations: 3.406 kB / 0.763 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.8972, allocations: 0.5102 MB / 0.7635 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.8973, allocations: 65.83 kB / 0.7635 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.8974, allocations: 13.5 kB / 0.7636 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.8978, allocations: 14.91 kB / 0.7636 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.8979, allocations: 26.72 kB / 0.7636 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.8979, allocations: 17.08 kB / 0.7636 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000436/0.8984, allocations: 388.3 kB / 0.764 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8984, allocations: 0 / 0.764 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007505/0.8991, allocations: 223.7 kB / 0.7642 GB, free: 11.61 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.0005744/0.8997, allocations: 277.8 kB / 0.7645 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.9009, allocations: 366.3 kB / 0.7648 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.9009, allocations: 0.8438 kB / 0.7648 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.9016, allocations: 151.9 kB / 0.765 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.9031, allocations: 341.5 kB / 0.7653 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.9052, allocations: 0.942 MB / 0.7662 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.9057, allocations: 0.8501 MB / 0.767 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.9061, allocations: 131.2 kB / 0.7672 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.9061, allocations: 0.9062 kB / 0.7672 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.01688/0.9229, allocations: 13.33 MB / 0.7802 GB, free: 8.824 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/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: 11.224812282947823]