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.001475/0.001475, 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.001653/0.001653, 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.2411/0.2411, allocations: 46.93 MB / 361.6 MB, free: 4.281 MB / 286.1 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.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.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.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.91 kB / 0.4974 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 66.03 MB / 0.5619 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6091/0.9557, allocations: 186.6 MB / 0.7442 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004249/0.96, allocations: 2.144 MB / 0.7462 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.9607, allocations: 23.28 kB / 0.7463 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009451/0.9617, allocations: 311.9 kB / 0.7466 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.9652, allocations: 1.197 MB / 0.7477 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.967, allocations: 0.6951 MB / 0.7484 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.9689, allocations: 1.505 MB / 0.7499 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005793/0.9695, allocations: 352.2 kB / 0.7502 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.9704, allocations: 0.5885 MB / 0.7508 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00067/0.9711, allocations: 467 kB / 0.7512 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-05/0.9712, allocations: 48.25 kB / 0.7513 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.973, allocations: 0.8148 MB / 0.7521 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.9732, allocations: 156.7 kB / 0.7522 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.9736, allocations: 331.1 kB / 0.7525 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.9756, allocations: 1.213 MB / 0.7537 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9756, allocations: 0.8438 kB / 0.7537 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9756, allocations: 0 / 0.7537 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.832e-05/0.9756, allocations: 0 / 0.7537 GB, free: 1.59 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.001919/0.9775, allocations: 0.9327 MB / 0.7546 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.9776, allocations: 15.69 kB / 0.7547 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009654/0.9785, allocations: 135.7 kB / 0.7548 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.9793, allocations: 408 kB / 0.7552 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.9794, allocations: 32.06 kB / 0.7552 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/0.9794, allocations: 37.59 kB / 0.7552 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.9803, allocations: 0.5544 MB / 0.7558 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.9803, allocations: 0.75 kB / 0.7558 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.9804, allocations: 16 kB / 0.7558 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.9804, allocations: 11.09 kB / 0.7558 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.9811, allocations: 410.5 kB / 0.7562 GB, free: 16.72 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.003005/0.9841, allocations: 2.533 MB / 0.7587 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.9847, allocations: 278.3 kB / 0.7589 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.9849, allocations: 131.2 kB / 0.7591 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.9851, allocations: 54.22 kB / 0.7591 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.9852, allocations: 43.28 kB / 0.7592 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.405e-06/0.9852, allocations: 0.9375 kB / 0.7592 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002225/0.9874, allocations: 0.626 MB / 0.7598 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.9875, allocations: 133.5 kB / 0.7599 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.988, allocations: 446.5 kB / 0.7603 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.988, allocations: 33.61 kB / 0.7604 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.9882, allocations: 277.3 kB / 0.7606 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.282e-05/0.9883, allocations: 110.9 kB / 0.7607 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.9884, allocations: 108.1 kB / 0.7608 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.9886, allocations: 352.3 kB / 0.7612 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.989, allocations: 148 kB / 0.7613 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.9894, allocations: 276.1 kB / 0.7616 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.9901, allocations: 426.6 kB / 0.762 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9901, allocations: 4.438 kB / 0.762 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001108/0.9912, allocations: 0.521 MB / 0.7625 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.9912, allocations: 8.625 kB / 0.7625 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.9913, allocations: 5.312 kB / 0.7625 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.9932, allocations: 266.6 kB / 0.7628 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.9936, allocations: 107.8 kB / 0.7629 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009855/0.9946, allocations: 0.6078 MB / 0.7635 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.995, allocations: 42.61 kB / 0.7635 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.9951, allocations: 47.72 kB / 0.7635 GB, free: 13.08 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.0003198/0.9954, allocations: 183.1 kB / 0.7637 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.9955, allocations: 55.86 kB / 0.7638 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.9973, allocations: 1.03 MB / 0.7648 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.9973, allocations: 7.531 kB / 0.7648 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.9973, allocations: 0 / 0.7648 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9974, allocations: 0 / 0.7648 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.999, allocations: 0.9387 MB / 0.7657 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.999, allocations: 3.844 kB / 0.7657 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.9993, allocations: 53.31 kB / 0.7657 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/1.001, allocations: 255.7 kB / 0.766 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/1.001, allocations: 15.77 kB / 0.766 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009858/1.002, allocations: 0.6056 MB / 0.7666 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.002, allocations: 4.875 kB / 0.7666 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.003, allocations: 0.5058 MB / 0.7671 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/1.003, allocations: 57.84 kB / 0.7672 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.003, allocations: 14.69 kB / 0.7672 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/1.004, allocations: 16.56 kB / 0.7672 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/1.004, allocations: 26.22 kB / 0.7672 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/1.004, allocations: 19.8 kB / 0.7672 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004705/1.004, allocations: 391 kB / 0.7676 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.004, allocations: 0 / 0.7676 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008378/1.005, allocations: 220.6 kB / 0.7678 GB, free: 11.56 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.000656/1.006, allocations: 290.5 kB / 0.7681 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001321/1.007, allocations: 357.7 kB / 0.7684 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.007, allocations: 3.281 kB / 0.7684 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006557/1.008, allocations: 149 kB / 0.7686 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.009, allocations: 343.3 kB / 0.7689 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/1.012, allocations: 0.9455 MB / 0.7698 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/1.012, allocations: 0.8447 MB / 0.7706 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/1.013, allocations: 129 kB / 0.7708 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/1.013, allocations: 1.094 kB / 0.7708 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.02035/1.033, allocations: 13.33 MB / 0.7838 GB, free: 8.41 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.055498103844002]