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.001371/0.001371, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001548/0.001548, allocations: 165.3 kB / 24.27 MB, free: 148 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.516/1.516, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3667/0.3667, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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 1.804e-06/1.804e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.791e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.432/0.432, allocations: 161.4 MB / 0.5241 GB, free: 6.684 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.4365, allocations: 2.04 MB / 0.5261 GB, free: 5.305 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007729/0.4373, allocations: 25.94 kB / 0.5261 GB, free: 5.289 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000994/0.4383, allocations: 301 kB / 0.5264 GB, free: 5.113 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.4417, allocations: 1.219 MB / 0.5276 GB, free: 4.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.4435, allocations: 0.6959 MB / 0.5283 GB, free: 4.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00211/0.4457, allocations: 1.51 MB / 0.5298 GB, free: 3.359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.4463, allocations: 370.8 kB / 0.5301 GB, free: 3.137 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.4475, allocations: 0.7806 MB / 0.5309 GB, free: 2.809 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005013/0.448, allocations: 394.3 kB / 0.5313 GB, free: 2.684 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.4481, allocations: 47.91 kB / 0.5313 GB, free: 2.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.4496, allocations: 0.6849 MB / 0.532 GB, free: 2.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.4498, allocations: 158.3 kB / 0.5321 GB, free: 2.406 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.4501, allocations: 232.2 kB / 0.5324 GB, free: 2.324 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.4519, allocations: 1.294 MB / 0.5336 GB, free: 1.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4519, allocations: 0 / 0.5336 GB, free: 1.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4519, allocations: 0 / 0.5336 GB, free: 1.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4519, allocations: 0 / 0.5336 GB, free: 1.879 MB / 410.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.00166/0.4536, allocations: 0.9288 MB / 0.5345 GB, free: 1.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4536, allocations: 10.31 kB / 0.5345 GB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.4547, allocations: 223.7 kB / 0.5347 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.4554, allocations: 414.7 kB / 0.5351 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.4554, allocations: 29 kB / 0.5352 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.4555, allocations: 49.09 kB / 0.5352 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/0.4565, allocations: 0.8508 MB / 0.536 GB, free: 236 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4565, allocations: 0 / 0.536 GB, free: 236 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.4566, allocations: 17.31 kB / 0.5361 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.4566, allocations: 14.84 kB / 0.5361 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.4574, allocations: 405.5 kB / 0.5365 GB, free: 96 kB / 410.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.002813/0.4602, allocations: 1.811 MB / 0.5382 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.4608, allocations: 280 kB / 0.5385 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.4611, allocations: 127.7 kB / 0.5386 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.4613, allocations: 46.72 kB / 0.5387 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.4613, allocations: 41.05 kB / 0.5387 GB, free: 14.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.4613, allocations: 0 / 0.5387 GB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.002557/0.4639, allocations: 0.6488 MB / 0.5393 GB, free: 14.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.464, allocations: 134.1 kB / 0.5395 GB, free: 14.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.4645, allocations: 385.5 kB / 0.5398 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.4646, allocations: 29.7 kB / 0.5399 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.4648, allocations: 285.4 kB / 0.5401 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.4649, allocations: 104.3 kB / 0.5402 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.4651, allocations: 108.5 kB / 0.5403 GB, free: 13.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003528/0.4655, allocations: 347 kB / 0.5407 GB, free: 13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.4659, allocations: 148.5 kB / 0.5408 GB, free: 12.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.4665, allocations: 354.2 kB / 0.5411 GB, free: 12.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.4674, allocations: 418.9 kB / 0.5415 GB, free: 12.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4674, allocations: 2.312 kB / 0.5415 GB, free: 12.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001319/0.4687, allocations: 0.5446 MB / 0.5421 GB, free: 12.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4687, allocations: 7.25 kB / 0.5421 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4687, allocations: 3.844 kB / 0.5421 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.4709, allocations: 270.8 kB / 0.5423 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.4713, allocations: 105 kB / 0.5424 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4724, allocations: 0.5975 MB / 0.543 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.4729, allocations: 49.16 kB / 0.5431 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/0.473, allocations: 52.12 kB / 0.5431 GB, free: 11.25 MB / 426.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.0003573/0.4733, allocations: 176.5 kB / 0.5433 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4735, allocations: 56.73 kB / 0.5434 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.4757, allocations: 1.025 MB / 0.5444 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4757, allocations: 2.875 kB / 0.5444 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4757, allocations: 0 / 0.5444 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4757, allocations: 3.984 kB / 0.5444 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.4774, allocations: 0.8224 MB / 0.5452 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.4775, allocations: 6.172 kB / 0.5452 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4777, allocations: 54.88 kB / 0.5452 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.4796, allocations: 254 kB / 0.5455 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.4796, allocations: 13.27 kB / 0.5455 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.4807, allocations: 0.6084 MB / 0.5461 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4807, allocations: 0 / 0.5461 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.4822, allocations: 0.504 MB / 0.5466 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4823, allocations: 49.06 kB / 0.5466 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4824, allocations: 14.11 kB / 0.5466 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.4828, allocations: 18.86 kB / 0.5466 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.4829, allocations: 27.39 kB / 0.5467 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.4829, allocations: 23.09 kB / 0.5467 GB, free: 8.691 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004287/0.4834, allocations: 304.4 kB / 0.547 GB, free: 8.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4834, allocations: 4 kB / 0.547 GB, free: 8.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008846/0.4842, allocations: 230.1 kB / 0.5472 GB, free: 8.453 MB / 426.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.0006554/0.4849, allocations: 290.5 kB / 0.5475 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.4863, allocations: 358.7 kB / 0.5478 GB, free: 8.129 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4863, allocations: 4.062 kB / 0.5478 GB, free: 8.125 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000728/0.487, allocations: 154.4 kB / 0.548 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.4884, allocations: 290.9 kB / 0.5482 GB, free: 7.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.4908, allocations: 0.8745 MB / 0.5491 GB, free: 7.328 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.491, allocations: 255.1 kB / 0.5493 GB, free: 7.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.4921, allocations: 0.5369 MB / 0.5499 GB, free: 6.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.4924, allocations: 80.45 kB / 0.5499 GB, free: 6.766 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4924, allocations: 4 kB / 0.55 GB, free: 6.762 MB / 426.7 MB Notification: Performance of Templates: time 0.02557/0.5179, allocations: 12.88 MB / 0.5625 GB, free: 10.12 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] 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.944076411076821]