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.00176/0.00176, allocations: 81.8 kB / 20.68 MB, free: 1.039 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.002215/0.002215, allocations: 165.1 kB / 23.95 MB, free: 4.172 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.481/1.481, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.2182/0.2182, allocations: 34.28 MB / 295 MB, free: 14.59 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 1.603e-06/1.603e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.128e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4541/0.4542, allocations: 161.4 MB / 0.59 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.4585, allocations: 2.038 MB / 0.592 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.4591, allocations: 23.75 kB / 0.592 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.4601, allocations: 293.9 kB / 0.5923 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.4637, allocations: 1.228 MB / 0.5935 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.4657, allocations: 0.6995 MB / 0.5941 GB, free: 96 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.4679, allocations: 1.507 MB / 0.5956 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.4687, allocations: 347.8 kB / 0.5959 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.4705, allocations: 0.783 MB / 0.5967 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/0.4713, allocations: 394.8 kB / 0.5971 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.4715, allocations: 48 kB / 0.5971 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.4731, allocations: 0.6824 MB / 0.5978 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.4734, allocations: 163.4 kB / 0.598 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004644/0.4739, allocations: 239.4 kB / 0.5982 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.4761, allocations: 1.282 MB / 0.5994 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4761, allocations: 7.922 kB / 0.5994 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4761, allocations: 0 / 0.5994 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.138e-05/0.4762, allocations: 0 / 0.5994 GB, free: 10.65 MB / 0.4981 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.002373/0.4785, allocations: 0.9208 MB / 0.6003 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4786, allocations: 8.031 kB / 0.6003 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.4797, allocations: 143.5 kB / 0.6005 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/0.4807, allocations: 398.2 kB / 0.6009 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.4808, allocations: 29 kB / 0.6009 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.4808, allocations: 41.12 kB / 0.6009 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.4823, allocations: 0.8528 MB / 0.6018 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4824, allocations: 7.875 kB / 0.6018 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.4824, allocations: 20 kB / 0.6018 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4824, allocations: 11.94 kB / 0.6018 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009782/0.4834, allocations: 411.6 kB / 0.6022 GB, free: 7.656 MB / 0.4981 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.003425/0.4869, allocations: 1.795 MB / 0.6039 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/0.4877, allocations: 277.5 kB / 0.6042 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.488, allocations: 132.9 kB / 0.6043 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.4883, allocations: 47.97 kB / 0.6044 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.335e-05/0.4884, allocations: 38.56 kB / 0.6044 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.485e-06/0.4884, allocations: 1.969 kB / 0.6044 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002656/0.4911, allocations: 0.6267 MB / 0.605 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.4912, allocations: 132.5 kB / 0.6052 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.4917, allocations: 381.6 kB / 0.6055 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.4918, allocations: 33.7 kB / 0.6056 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.4921, allocations: 280.3 kB / 0.6058 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.4922, allocations: 107 kB / 0.6059 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.4924, allocations: 109.6 kB / 0.606 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4926, allocations: 354.7 kB / 0.6064 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.4931, allocations: 139.9 kB / 0.6065 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.4937, allocations: 352.3 kB / 0.6068 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.4947, allocations: 429.5 kB / 0.6072 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4947, allocations: 0 / 0.6072 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001398/0.4961, allocations: 0.5137 MB / 0.6077 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4961, allocations: 12.09 kB / 0.6078 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4962, allocations: 4 kB / 0.6078 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.4983, allocations: 264.5 kB / 0.608 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.4988, allocations: 103.9 kB / 0.6081 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.4998, allocations: 0.607 MB / 0.6087 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.5002, allocations: 47.7 kB / 0.6088 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.58e-05/0.5003, allocations: 47.98 kB / 0.6088 GB, free: 0.5742 MB / 0.4981 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.0003185/0.5006, allocations: 186.2 kB / 0.609 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.5008, allocations: 39.77 kB / 0.609 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.5031, allocations: 1.037 MB / 0.61 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5031, allocations: 3.312 kB / 0.61 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5031, allocations: 4 kB / 0.61 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5031, allocations: 0 / 0.61 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.5049, allocations: 0.819 MB / 0.6108 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.5049, allocations: 4.031 kB / 0.6108 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.5052, allocations: 51.89 kB / 0.6109 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.507, allocations: 256.5 kB / 0.6111 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.5071, allocations: 11.98 kB / 0.6111 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009894/0.5081, allocations: 0.6069 MB / 0.6117 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5081, allocations: 4.031 kB / 0.6117 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.5095, allocations: 0.4924 MB / 0.6122 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.5096, allocations: 51.58 kB / 0.6123 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5098, allocations: 15.89 kB / 0.6123 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.5102, allocations: 15.98 kB / 0.6123 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.5103, allocations: 23.95 kB / 0.6123 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.5103, allocations: 20.05 kB / 0.6123 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000439/0.5107, allocations: 307.1 kB / 0.6126 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5107, allocations: 0 / 0.6126 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008899/0.5116, allocations: 227.5 kB / 0.6129 GB, free: 12.28 MB / 0.5137 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.0007995/0.5124, allocations: 303.4 kB / 0.6131 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.5139, allocations: 360.4 kB / 0.6135 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5139, allocations: 0 / 0.6135 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.5147, allocations: 162.9 kB / 0.6136 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5162, allocations: 259 kB / 0.6139 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.5184, allocations: 0.8635 MB / 0.6147 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.5187, allocations: 250 kB / 0.615 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001043/0.5198, allocations: 0.5316 MB / 0.6155 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.52, allocations: 88.44 kB / 0.6156 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.52, allocations: 4 kB / 0.6156 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of Templates: time 0.02516/0.5452, allocations: 12.83 MB / 0.6281 GB, free: 12.83 MB / 0.5294 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/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_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.9840084202587605]