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.001333/0.001333, allocations: 73.25 kB / 21.24 MB, free: 0.5547 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.001402/0.001402, allocations: 161 kB / 24.5 MB, free: 3.715 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.435/1.435, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.2091/0.2091, allocations: 34.27 MB / 295.5 MB, free: 14.58 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.002255/0.002255, allocations: 63.89 kB / 443.2 MB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3312, allocations: 66 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.1979/0.5291, allocations: 161.5 MB / 0.655 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.5331, allocations: 2.037 MB / 0.657 GB, free: 1.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.5335, allocations: 19.81 kB / 0.657 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.5346, allocations: 286 kB / 0.6573 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003595/0.5382, allocations: 1.208 MB / 0.6584 GB, free: 124 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.5399, allocations: 0.6883 MB / 0.6591 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.5417, allocations: 1.497 MB / 0.6606 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.5423, allocations: 359.8 kB / 0.6609 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008722/0.5431, allocations: 0.5916 MB / 0.6615 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.5438, allocations: 438.1 kB / 0.6619 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.5439, allocations: 44 kB / 0.662 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.5452, allocations: 0.6826 MB / 0.6626 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.5454, allocations: 151.4 kB / 0.6628 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.5458, allocations: 274.9 kB / 0.663 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.5474, allocations: 1.207 MB / 0.6642 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5474, allocations: 0 / 0.6642 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5474, allocations: 0 / 0.6642 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.5474, allocations: 0 / 0.6642 GB, free: 10.2 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.001779/0.5492, allocations: 0.9325 MB / 0.6651 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5493, allocations: 12.03 kB / 0.6651 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.5503, allocations: 131.5 kB / 0.6653 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008404/0.5511, allocations: 401.6 kB / 0.6656 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.5511, allocations: 33 kB / 0.6657 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.5512, allocations: 43.94 kB / 0.6657 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.5525, allocations: 0.8527 MB / 0.6665 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5525, allocations: 8 kB / 0.6666 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/0.5526, allocations: 16 kB / 0.6666 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.5526, allocations: 12 kB / 0.6666 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.5535, allocations: 411.5 kB / 0.667 GB, free: 7.199 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.002689/0.5562, allocations: 1.803 MB / 0.6687 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.5568, allocations: 266.9 kB / 0.669 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.5571, allocations: 140.7 kB / 0.6691 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.5573, allocations: 43.97 kB / 0.6692 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5573, allocations: 38.56 kB / 0.6692 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.703e-06/0.5573, allocations: 0 / 0.6692 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002416/0.5598, allocations: 0.6189 MB / 0.6698 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.5599, allocations: 136.5 kB / 0.6699 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.5603, allocations: 381.6 kB / 0.6703 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.5603, allocations: 37.69 kB / 0.6703 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.5606, allocations: 280.3 kB / 0.6706 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.5607, allocations: 107.1 kB / 0.6707 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.5608, allocations: 113.6 kB / 0.6708 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.561, allocations: 346.8 kB / 0.6711 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.5614, allocations: 143.9 kB / 0.6713 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.562, allocations: 352.4 kB / 0.6716 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.5629, allocations: 426 kB / 0.672 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5629, allocations: 0 / 0.672 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001237/0.5641, allocations: 0.5251 MB / 0.6725 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5641, allocations: 10.34 kB / 0.6725 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5641, allocations: 4.047 kB / 0.6725 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.5662, allocations: 272.8 kB / 0.6728 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.5666, allocations: 103.9 kB / 0.6729 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009855/0.5676, allocations: 0.6031 MB / 0.6735 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.568, allocations: 43.72 kB / 0.6735 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.5681, allocations: 47.97 kB / 0.6736 GB, free: 112 kB / 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.0002907/0.5683, allocations: 186.4 kB / 0.6738 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.5685, allocations: 47.72 kB / 0.6738 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.5706, allocations: 1.021 MB / 0.6748 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5706, allocations: 4 kB / 0.6748 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5706, allocations: 0 / 0.6748 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5706, allocations: 3.984 kB / 0.6748 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.5723, allocations: 0.8227 MB / 0.6756 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5723, allocations: 7.938 kB / 0.6756 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.5726, allocations: 51.89 kB / 0.6757 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.5744, allocations: 260.6 kB / 0.6759 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.5744, allocations: 11.98 kB / 0.6759 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009527/0.5754, allocations: 0.603 MB / 0.6765 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.5754, allocations: 3.938 kB / 0.6765 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.5767, allocations: 0.4923 MB / 0.677 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.5768, allocations: 39.69 kB / 0.677 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.5769, allocations: 16.02 kB / 0.6771 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.5772, allocations: 15.98 kB / 0.6771 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.5773, allocations: 35.83 kB / 0.6771 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.5774, allocations: 15.98 kB / 0.6771 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003911/0.5777, allocations: 307.1 kB / 0.6774 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5777, allocations: 0 / 0.6774 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007641/0.5785, allocations: 227.5 kB / 0.6776 GB, free: 11.81 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.0006301/0.5791, allocations: 290.8 kB / 0.6779 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.5805, allocations: 351.6 kB / 0.6782 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5805, allocations: 0 / 0.6782 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.5813, allocations: 156.8 kB / 0.6784 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5826, allocations: 279.5 kB / 0.6787 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.5848, allocations: 0.8928 MB / 0.6795 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.5851, allocations: 250 kB / 0.6798 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001013/0.5861, allocations: 0.5323 MB / 0.6803 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.5863, allocations: 84.44 kB / 0.6804 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.5863, allocations: 0 / 0.6804 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of Templates: time 0.2432/0.8296, allocations: 12.89 MB / 0.693 GB, free: 166.1 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 -s ida -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: 5.911748014041223]