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.001693/0.001693, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002158/0.002158, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.637/1.637, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.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.248/0.248, allocations: 46.93 MB / 360.8 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] 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.002378/0.002378, allocations: 63.89 kB / 0.4967 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4356, allocations: 66.02 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6706/1.106, allocations: 186.6 MB / 0.7434 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004599/1.111, allocations: 2.151 MB / 0.7455 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007838/1.112, allocations: 21.47 kB / 0.7455 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/1.113, allocations: 304.4 kB / 0.7458 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/1.117, allocations: 1.203 MB / 0.747 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/1.119, allocations: 0.697 MB / 0.7477 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002486/1.121, allocations: 1.503 MB / 0.7491 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007299/1.122, allocations: 349.4 kB / 0.7495 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/1.123, allocations: 0.5905 MB / 0.75 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006324/1.124, allocations: 464.3 kB / 0.7505 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.482e-05/1.124, allocations: 48.47 kB / 0.7505 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/1.126, allocations: 0.8131 MB / 0.7513 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/1.126, allocations: 159.1 kB / 0.7515 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003576/1.126, allocations: 321.7 kB / 0.7518 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/1.128, allocations: 1.217 MB / 0.753 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/1.128, allocations: 4.156 kB / 0.753 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.796e-06/1.128, allocations: 1.094 kB / 0.753 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.135e-05/1.128, allocations: 0.9375 kB / 0.753 GB, free: 1.613 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.002136/1.131, allocations: 0.934 MB / 0.7539 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.131, allocations: 12.41 kB / 0.7539 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009621/1.132, allocations: 136.1 kB / 0.754 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/1.132, allocations: 408.8 kB / 0.7544 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/1.133, allocations: 31.94 kB / 0.7545 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/1.133, allocations: 37.69 kB / 0.7545 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.134, allocations: 0.5512 MB / 0.755 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.134, allocations: 0.7812 kB / 0.755 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/1.134, allocations: 19.92 kB / 0.755 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/1.134, allocations: 12.09 kB / 0.7551 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/1.134, allocations: 409.8 kB / 0.7554 GB, free: 16.74 MB / 0.5762 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.003377/1.138, allocations: 2.534 MB / 0.7579 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/1.138, allocations: 277 kB / 0.7582 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/1.139, allocations: 133.2 kB / 0.7583 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/1.139, allocations: 52.42 kB / 0.7584 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.139, allocations: 36.81 kB / 0.7584 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 3.467e-06/1.139, allocations: 3.984 kB / 0.7584 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002361/1.141, allocations: 0.6336 MB / 0.759 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.141, allocations: 133.9 kB / 0.7591 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/1.142, allocations: 444.4 kB / 0.7596 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/1.142, allocations: 32.33 kB / 0.7596 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/1.142, allocations: 277.5 kB / 0.7599 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/1.142, allocations: 109.5 kB / 0.76 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.142, allocations: 104 kB / 0.7601 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.143, allocations: 361.3 kB / 0.7604 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/1.143, allocations: 140.6 kB / 0.7606 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/1.143, allocations: 275.3 kB / 0.7608 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/1.144, allocations: 433.1 kB / 0.7612 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.144, allocations: 1.094 kB / 0.7612 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00113/1.145, allocations: 0.5209 MB / 0.7617 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.145, allocations: 5.312 kB / 0.7617 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.145, allocations: 3.469 kB / 0.7617 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/1.147, allocations: 274.7 kB / 0.762 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/1.148, allocations: 102.5 kB / 0.7621 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009879/1.149, allocations: 0.6093 MB / 0.7627 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/1.149, allocations: 43.69 kB / 0.7627 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/1.149, allocations: 47.05 kB / 0.7628 GB, free: 13.1 MB / 0.5762 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.0003401/1.15, allocations: 180.3 kB / 0.763 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.15, allocations: 56.5 kB / 0.763 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/1.152, allocations: 1.034 MB / 0.764 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.152, allocations: 10.06 kB / 0.764 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.152, allocations: 0 / 0.764 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.152, allocations: 0.9688 kB / 0.764 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/1.154, allocations: 0.9447 MB / 0.765 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.154, allocations: 3.125 kB / 0.765 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/1.154, allocations: 48.94 kB / 0.765 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/1.156, allocations: 258.2 kB / 0.7653 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/1.156, allocations: 11.59 kB / 0.7653 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009793/1.157, allocations: 0.6027 MB / 0.7659 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.157, allocations: 3.938 kB / 0.7659 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/1.158, allocations: 0.5095 MB / 0.7664 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/1.158, allocations: 58.83 kB / 0.7664 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.158, allocations: 12.75 kB / 0.7664 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/1.159, allocations: 21.77 kB / 0.7664 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/1.159, allocations: 22.56 kB / 0.7665 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/1.159, allocations: 20.44 kB / 0.7665 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000612/1.159, allocations: 392.5 kB / 0.7669 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.159, allocations: 0.8125 kB / 0.7669 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001159/1.16, allocations: 220.4 kB / 0.7671 GB, free: 11.58 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.0007637/1.161, allocations: 286.1 kB / 0.7673 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.163, allocations: 357 kB / 0.7677 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.163, allocations: 3.594 kB / 0.7677 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/1.163, allocations: 149 kB / 0.7678 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/1.165, allocations: 343.7 kB / 0.7682 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/1.167, allocations: 0.9175 MB / 0.769 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/1.168, allocations: 0.8459 MB / 0.7699 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001047/1.169, allocations: 0.5469 MB / 0.7704 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/1.169, allocations: 93.31 kB / 0.7705 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/1.169, allocations: 1.203 kB / 0.7705 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of Templates: time 0.02715/1.196, allocations: 14.59 MB / 0.7848 GB, free: 7.91 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 -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: 6.86022528889589]