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.002612/0.002612, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002076/0.002076, allocations: 169.3 kB / 24.28 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3348/0.3348, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 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: Performance of FrontEnd - loaded program: time 4.839e-06/4.839e-06, allocations: 4 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/4.095e-05, allocations: 5.828 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3744/0.3745, allocations: 179.6 MB / 0.5419 GB, free: 12.92 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004506/0.379, allocations: 2.135 MB / 0.5439 GB, free: 11.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.3795, allocations: 24.53 kB / 0.544 GB, free: 11.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009168/0.3804, allocations: 290.4 kB / 0.5442 GB, free: 11.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.3836, allocations: 1.237 MB / 0.5455 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.3853, allocations: 0.6921 MB / 0.5461 GB, free: 10.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.3871, allocations: 1.504 MB / 0.5476 GB, free: 9.539 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.3876, allocations: 367.2 kB / 0.5479 GB, free: 9.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.3887, allocations: 0.7895 MB / 0.5487 GB, free: 8.941 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.3892, allocations: 393.9 kB / 0.5491 GB, free: 8.742 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3893, allocations: 48.72 kB / 0.5491 GB, free: 8.742 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.3907, allocations: 0.6766 MB / 0.5498 GB, free: 8.434 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.3909, allocations: 164.3 kB / 0.55 GB, free: 8.309 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.3912, allocations: 244.5 kB / 0.5502 GB, free: 8.195 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.3929, allocations: 1.293 MB / 0.5515 GB, free: 7.375 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3929, allocations: 0 / 0.5515 GB, free: 7.375 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3929, allocations: 0 / 0.5515 GB, free: 7.375 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.3929, allocations: 0 / 0.5515 GB, free: 7.375 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.00188/0.3948, allocations: 1.061 MB / 0.5525 GB, free: 6.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3948, allocations: 8.969 kB / 0.5525 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.3959, allocations: 227.9 kB / 0.5527 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.3967, allocations: 418.4 kB / 0.5531 GB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3967, allocations: 30.03 kB / 0.5531 GB, free: 6.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.3968, allocations: 40.94 kB / 0.5532 GB, free: 6.082 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.398, allocations: 0.8971 MB / 0.5541 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3981, allocations: 0 / 0.5541 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.3981, allocations: 21.25 kB / 0.5541 GB, free: 5.266 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3981, allocations: 15.66 kB / 0.5541 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/0.3989, allocations: 378.5 kB / 0.5545 GB, free: 5.102 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.003213/0.4021, allocations: 2.373 MB / 0.5568 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.4028, allocations: 279.8 kB / 0.557 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.4031, allocations: 127.6 kB / 0.5572 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.4033, allocations: 51.91 kB / 0.5572 GB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.4033, allocations: 41.39 kB / 0.5572 GB, free: 2.551 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.382e-06/0.4033, allocations: 0 / 0.5572 GB, free: 2.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.002471/0.4058, allocations: 0.6119 MB / 0.5578 GB, free: 1.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/0.4059, allocations: 132.5 kB / 0.558 GB, free: 1.773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.4065, allocations: 498.6 kB / 0.5584 GB, free: 1.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.4066, allocations: 33.7 kB / 0.5585 GB, free: 1.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.4069, allocations: 343.1 kB / 0.5588 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.407, allocations: 115 kB / 0.5589 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.4072, allocations: 115.3 kB / 0.559 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003129/0.4075, allocations: 0.5469 MB / 0.5596 GB, free: 100 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.4079, allocations: 127.9 kB / 0.5597 GB, free: 15.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.4086, allocations: 403.3 kB / 0.5601 GB, free: 15.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.4095, allocations: 452 kB / 0.5605 GB, free: 14.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4095, allocations: 0 / 0.5605 GB, free: 14.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001333/0.4108, allocations: 0.5204 MB / 0.561 GB, free: 14.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4108, allocations: 8 kB / 0.561 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4109, allocations: 4 kB / 0.561 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/0.4128, allocations: 235.5 kB / 0.5612 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.4132, allocations: 99.88 kB / 0.5613 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.4144, allocations: 0.8779 MB / 0.5622 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.4147, allocations: 35.77 kB / 0.5622 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/0.4148, allocations: 47.98 kB / 0.5623 GB, free: 13.11 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.000305/0.4151, allocations: 216.5 kB / 0.5625 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4153, allocations: 51.72 kB / 0.5625 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.4176, allocations: 1.077 MB / 0.5636 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4176, allocations: 0 / 0.5636 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4176, allocations: 3.984 kB / 0.5636 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4176, allocations: 4 kB / 0.5636 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.4195, allocations: 0.9362 MB / 0.5645 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4195, allocations: 4 kB / 0.5645 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.4197, allocations: 47.95 kB / 0.5646 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.4214, allocations: 223.5 kB / 0.5648 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.4214, allocations: 11.98 kB / 0.5648 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.4225, allocations: 0.8741 MB / 0.5656 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.4225, allocations: 7.938 kB / 0.5656 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.4238, allocations: 0.5533 MB / 0.5662 GB, free: 8.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.4239, allocations: 43.59 kB / 0.5662 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.424, allocations: 12.03 kB / 0.5662 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.4243, allocations: 15.98 kB / 0.5662 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.4244, allocations: 23.95 kB / 0.5663 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.4244, allocations: 23.97 kB / 0.5663 GB, free: 8.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004822/0.4249, allocations: 355 kB / 0.5666 GB, free: 8.473 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4249, allocations: 0 / 0.5666 GB, free: 8.473 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007965/0.4257, allocations: 239.4 kB / 0.5669 GB, free: 8.238 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.0006296/0.4264, allocations: 300.2 kB / 0.5671 GB, free: 7.938 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.4277, allocations: 365 kB / 0.5675 GB, free: 7.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.4277, allocations: 4 kB / 0.5675 GB, free: 7.574 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006686/0.4283, allocations: 154.2 kB / 0.5676 GB, free: 7.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.4298, allocations: 294.5 kB / 0.5679 GB, free: 7.156 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.4321, allocations: 0.8765 MB / 0.5688 GB, free: 6.234 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4323, allocations: 242 kB / 0.569 GB, free: 5.973 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001054/0.4334, allocations: 0.5358 MB / 0.5695 GB, free: 5.438 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.4336, allocations: 92.44 kB / 0.5696 GB, free: 5.348 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4336, allocations: 0 / 0.5696 GB, free: 5.348 MB / 442.7 MB Notification: Performance of Templates: time 0.02482/0.4585, allocations: 12.89 MB / 0.5822 GB, free: 8.695 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/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: 5.968901181011461]