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.001741/0.001741, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.002088/0.002088, allocations: 158.9 kB / 24.5 MB, free: 3.715 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.41/1.41, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 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.1963/0.1963, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 67.89 kB / 440.6 MB, free: 9.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3188, allocations: 65.45 MB / 0.4942 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2025/0.5213, allocations: 161.5 MB / 0.6519 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004089/0.5254, allocations: 2.037 MB / 0.6539 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.5258, allocations: 19.81 kB / 0.6539 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008433/0.5266, allocations: 294 kB / 0.6542 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.5296, allocations: 1.196 MB / 0.6554 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.5313, allocations: 0.6876 MB / 0.656 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002085/0.5334, allocations: 1.496 MB / 0.6575 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.5341, allocations: 363.8 kB / 0.6578 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009844/0.535, allocations: 0.5916 MB / 0.6584 GB, free: 280 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.5357, allocations: 430.1 kB / 0.6588 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.42e-05/0.5358, allocations: 48 kB / 0.6589 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.5373, allocations: 0.6826 MB / 0.6595 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.5375, allocations: 155.4 kB / 0.6597 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.5379, allocations: 282.8 kB / 0.66 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.5395, allocations: 1.195 MB / 0.6611 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5396, allocations: 4 kB / 0.6611 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5396, allocations: 4 kB / 0.6611 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.5396, allocations: 0 / 0.6611 GB, free: 13.48 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.001792/0.5414, allocations: 0.9209 MB / 0.662 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5414, allocations: 16.02 kB / 0.6621 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000982/0.5424, allocations: 135.5 kB / 0.6622 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007955/0.5432, allocations: 405.6 kB / 0.6626 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.5432, allocations: 33 kB / 0.6626 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/0.5433, allocations: 36 kB / 0.6626 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.5446, allocations: 0.8605 MB / 0.6635 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5446, allocations: 0 / 0.6635 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.5447, allocations: 27.94 kB / 0.6635 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5447, allocations: 8 kB / 0.6635 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.5456, allocations: 403.6 kB / 0.6639 GB, free: 10.49 MB / 0.5606 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.002824/0.5484, allocations: 1.799 MB / 0.6657 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.5491, allocations: 281.4 kB / 0.6659 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.5493, allocations: 132.8 kB / 0.666 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.5495, allocations: 43.97 kB / 0.6661 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5495, allocations: 38.56 kB / 0.6661 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.5495, allocations: 0 / 0.6661 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.00243/0.552, allocations: 0.6228 MB / 0.6667 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/0.5521, allocations: 132.5 kB / 0.6669 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.5525, allocations: 381.6 kB / 0.6672 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.5526, allocations: 33.7 kB / 0.6673 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.5528, allocations: 284.3 kB / 0.6675 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.5529, allocations: 107.1 kB / 0.6676 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.5531, allocations: 117.6 kB / 0.6677 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5533, allocations: 346.8 kB / 0.6681 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.5537, allocations: 147.9 kB / 0.6682 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.5542, allocations: 352.3 kB / 0.6685 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/0.5552, allocations: 430 kB / 0.669 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5552, allocations: 0 / 0.669 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001293/0.5565, allocations: 0.5212 MB / 0.6695 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5565, allocations: 8 kB / 0.6695 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5565, allocations: 7.938 kB / 0.6695 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/0.5586, allocations: 268.8 kB / 0.6697 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.5591, allocations: 107.8 kB / 0.6698 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.5602, allocations: 0.5953 MB / 0.6704 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.5605, allocations: 39.72 kB / 0.6705 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.5606, allocations: 56.03 kB / 0.6705 GB, free: 3.395 MB / 0.5606 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.0002879/0.5609, allocations: 189.2 kB / 0.6707 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.561, allocations: 47.72 kB / 0.6707 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.5632, allocations: 1.017 MB / 0.6717 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.5632, allocations: 4 kB / 0.6717 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5632, allocations: 4 kB / 0.6717 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5632, allocations: 3.984 kB / 0.6717 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.5649, allocations: 0.815 MB / 0.6725 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5649, allocations: 4 kB / 0.6725 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.5651, allocations: 51.89 kB / 0.6726 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.567, allocations: 260.6 kB / 0.6728 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.567, allocations: 15.98 kB / 0.6729 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009774/0.568, allocations: 0.6107 MB / 0.6735 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.568, allocations: 0 / 0.6735 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.5693, allocations: 0.504 MB / 0.6739 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.5694, allocations: 39.69 kB / 0.674 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.079e-05/0.5695, allocations: 11.95 kB / 0.674 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.5699, allocations: 15.98 kB / 0.674 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.57, allocations: 31.89 kB / 0.674 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.57, allocations: 15.98 kB / 0.6741 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003957/0.5704, allocations: 303.1 kB / 0.6743 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5704, allocations: 0 / 0.6743 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007729/0.5712, allocations: 235.5 kB / 0.6746 GB, free: 15.09 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.0006074/0.5718, allocations: 290.7 kB / 0.6748 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.5732, allocations: 347.6 kB / 0.6752 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5732, allocations: 0.875 kB / 0.6752 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.574, allocations: 167.8 kB / 0.6753 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.5753, allocations: 271.1 kB / 0.6756 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.5775, allocations: 0.885 MB / 0.6765 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5777, allocations: 254 kB / 0.6767 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00103/0.5788, allocations: 0.5326 MB / 0.6772 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.579, allocations: 84.44 kB / 0.6773 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.579, allocations: 0 / 0.6773 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of Templates: time 0.228/0.807, allocations: 12.92 MB / 0.6899 GB, free: 170.1 MB / 0.5762 GB " [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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/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.942053625010885]