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.001882/0.001882, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002047/0.002047, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3632/0.3632, allocations: 34.26 MB / 295.3 MB, free: 0.707 MB / 266.7 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.684e-06/1.684e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.322e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4321/0.4321, allocations: 179.6 MB / 0.5438 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006461/0.4386, allocations: 2.132 MB / 0.5459 GB, free: 9.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008044/0.4394, allocations: 20.81 kB / 0.5459 GB, free: 9.328 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.4406, allocations: 285.3 kB / 0.5462 GB, free: 9.168 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.4455, allocations: 1.238 MB / 0.5474 GB, free: 8.484 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.448, allocations: 0.6963 MB / 0.5481 GB, free: 8.121 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.4506, allocations: 1.505 MB / 0.5496 GB, free: 7.395 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.4515, allocations: 366.3 kB / 0.5499 GB, free: 7.18 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.4536, allocations: 0.788 MB / 0.5507 GB, free: 6.699 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.4547, allocations: 393.7 kB / 0.5511 GB, free: 6.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.4549, allocations: 52.47 kB / 0.5511 GB, free: 6.496 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.457, allocations: 0.6797 MB / 0.5518 GB, free: 6.184 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.4573, allocations: 164.2 kB / 0.5519 GB, free: 6.059 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.4579, allocations: 235 kB / 0.5522 GB, free: 5.957 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.461, allocations: 1.294 MB / 0.5534 GB, free: 5.133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.461, allocations: 3.438 kB / 0.5534 GB, free: 5.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.461, allocations: 0 / 0.5534 GB, free: 5.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.4611, allocations: 0 / 0.5534 GB, free: 5.133 MB / 426.7 MB 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.00296/0.464, allocations: 1.062 MB / 0.5545 GB, free: 4.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4641, allocations: 11.5 kB / 0.5545 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.4654, allocations: 217.6 kB / 0.5547 GB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008466/0.4662, allocations: 422.1 kB / 0.5551 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.4663, allocations: 30.41 kB / 0.5551 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.4664, allocations: 43.41 kB / 0.5552 GB, free: 3.836 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.4678, allocations: 0.8962 MB / 0.556 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4678, allocations: 0 / 0.556 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.4679, allocations: 20 kB / 0.5561 GB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.4679, allocations: 19.94 kB / 0.5561 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.469, allocations: 375.6 kB / 0.5564 GB, free: 2.473 MB / 426.7 MB 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.003562/0.4725, allocations: 2.369 MB / 0.5587 GB, free: 16 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.4732, allocations: 272.4 kB / 0.559 GB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.4735, allocations: 131.6 kB / 0.5591 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.4737, allocations: 51.84 kB / 0.5592 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.4738, allocations: 41.39 kB / 0.5592 GB, free: 15.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.4738, allocations: 0 / 0.5592 GB, free: 15.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.002412/0.4762, allocations: 0.6194 MB / 0.5598 GB, free: 14.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4763, allocations: 132.5 kB / 0.5599 GB, free: 14.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006153/0.4769, allocations: 494.6 kB / 0.5604 GB, free: 14.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.477, allocations: 37.69 kB / 0.5605 GB, free: 14.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.4773, allocations: 339.1 kB / 0.5608 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.4774, allocations: 111.1 kB / 0.5609 GB, free: 13.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.4777, allocations: 119.3 kB / 0.561 GB, free: 13.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003488/0.478, allocations: 0.5508 MB / 0.5615 GB, free: 13.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.4784, allocations: 127.9 kB / 0.5617 GB, free: 12.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.479, allocations: 388.1 kB / 0.562 GB, free: 12.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.4799, allocations: 452 kB / 0.5625 GB, free: 11.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.48, allocations: 0 / 0.5625 GB, free: 11.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001322/0.4813, allocations: 0.524 MB / 0.563 GB, free: 11.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4813, allocations: 4 kB / 0.563 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4813, allocations: 4 kB / 0.563 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/0.4832, allocations: 239.7 kB / 0.5632 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.4838, allocations: 95.88 kB / 0.5633 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.485, allocations: 0.8779 MB / 0.5642 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.4853, allocations: 35.77 kB / 0.5642 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.4854, allocations: 47.98 kB / 0.5642 GB, free: 10.07 MB / 442.7 MB 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.0003009/0.4857, allocations: 216.5 kB / 0.5644 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.4859, allocations: 55.72 kB / 0.5645 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.4881, allocations: 1.066 MB / 0.5655 GB, free: 8.707 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4881, allocations: 4 kB / 0.5655 GB, free: 8.703 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4881, allocations: 0 / 0.5655 GB, free: 8.703 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4882, allocations: 3.984 kB / 0.5655 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.49, allocations: 0.9489 MB / 0.5665 GB, free: 7.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.49, allocations: 3.938 kB / 0.5665 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.4902, allocations: 51.95 kB / 0.5665 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/0.4919, allocations: 219.5 kB / 0.5667 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.4919, allocations: 15.98 kB / 0.5667 GB, free: 7.395 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.493, allocations: 0.8741 MB / 0.5676 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.493, allocations: 3.938 kB / 0.5676 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.4943, allocations: 0.5565 MB / 0.5681 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.4944, allocations: 43.59 kB / 0.5682 GB, free: 5.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.4945, allocations: 8 kB / 0.5682 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.4948, allocations: 15.98 kB / 0.5682 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.4949, allocations: 31.98 kB / 0.5682 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.495, allocations: 15.98 kB / 0.5683 GB, free: 5.773 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004731/0.4954, allocations: 359 kB / 0.5686 GB, free: 5.422 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4954, allocations: 4 kB / 0.5686 GB, free: 5.418 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007987/0.4962, allocations: 239.4 kB / 0.5688 GB, free: 5.184 MB / 442.7 MB 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.0006876/0.4969, allocations: 290.1 kB / 0.5691 GB, free: 4.895 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.4982, allocations: 365.3 kB / 0.5695 GB, free: 4.535 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4982, allocations: 0.875 kB / 0.5695 GB, free: 4.535 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.4989, allocations: 161.4 kB / 0.5696 GB, free: 4.375 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5003, allocations: 288.2 kB / 0.5699 GB, free: 4.121 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.5027, allocations: 0.884 MB / 0.5708 GB, free: 3.191 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.5029, allocations: 250 kB / 0.571 GB, free: 2.922 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001052/0.504, allocations: 0.5312 MB / 0.5715 GB, free: 2.398 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.5043, allocations: 88.42 kB / 0.5716 GB, free: 2.312 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5043, allocations: 0 / 0.5716 GB, free: 2.312 MB / 442.7 MB Notification: Performance of Templates: time 0.02533/0.5296, allocations: 12.89 MB / 0.5842 GB, free: 5.656 MB / 458.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] 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: 6.0053471609717235]