Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5477/0.5477, allocations: 94.59 MB / 399 MB, free: 15.82 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 83.86 kB / 0.5442 GB, free: 12.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3242, allocations: 71.84 MB / 0.6144 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1686/0.4928, allocations: 150.2 MB / 0.761 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006094/0.4989, allocations: 4.671 MB / 0.7656 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007179/0.4996, allocations: 31.81 kB / 0.7656 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5006, allocations: 282.1 kB / 0.7659 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.5024, allocations: 0.6797 MB / 0.7666 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.5037, allocations: 0.4982 MB / 0.7671 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.5051, allocations: 0.9839 MB / 0.768 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.5054, allocations: 108 kB / 0.7681 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.5065, allocations: 0.5212 MB / 0.7686 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008595/0.5074, allocations: 482.1 kB / 0.7691 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.5076, allocations: 44 kB / 0.7691 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.5095, allocations: 0.7797 MB / 0.7699 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.5097, allocations: 119.4 kB / 0.77 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.5101, allocations: 314.2 kB / 0.7703 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5116, allocations: 0.9728 MB / 0.7713 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5116, allocations: 0 / 0.7713 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5116, allocations: 0 / 0.7713 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.5116, allocations: 0 / 0.7713 GB, free: 3.91 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001525/0.5131, allocations: 0.996 MB / 0.7722 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5132, allocations: 8.031 kB / 0.7722 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.836e-05/0.5133, allocations: 90.7 kB / 0.7723 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.5134, allocations: 72.47 kB / 0.7724 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.5142, allocations: 0.5487 MB / 0.7729 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.5143, allocations: 33.38 kB / 0.773 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.5143, allocations: 44.31 kB / 0.773 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.5151, allocations: 0.5084 MB / 0.7735 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5151, allocations: 0 / 0.7735 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.5151, allocations: 16 kB / 0.7735 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.5152, allocations: 12 kB / 0.7735 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.5159, allocations: 479.7 kB / 0.774 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.5184, allocations: 2.175 MB / 0.7761 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.5191, allocations: 332.4 kB / 0.7764 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.5194, allocations: 182.1 kB / 0.7766 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/0.5218, allocations: 1.994 MB / 0.7785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.5219, allocations: 38.98 kB / 0.7786 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.423e-06/0.5219, allocations: 0 / 0.7786 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.001553/0.5234, allocations: 0.8031 MB / 0.7794 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.5235, allocations: 55.84 kB / 0.7794 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.524, allocations: 491 kB / 0.7799 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.524, allocations: 33.7 kB / 0.7799 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.5242, allocations: 272.9 kB / 0.7802 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.5244, allocations: 174.5 kB / 0.7803 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.5245, allocations: 82.11 kB / 0.7804 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5247, allocations: 362.8 kB / 0.7808 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.5249, allocations: 136.8 kB / 0.7809 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.5252, allocations: 189 kB / 0.7811 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.5258, allocations: 344.9 kB / 0.7814 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5258, allocations: 0 / 0.7814 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008801/0.5267, allocations: 0.505 MB / 0.7819 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5267, allocations: 4 kB / 0.7819 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5267, allocations: 4 kB / 0.7819 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.5269, allocations: 69.73 kB / 0.782 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.5272, allocations: 91.83 kB / 0.7821 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.5296, allocations: 2.911 MB / 0.7849 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.5298, allocations: 47.66 kB / 0.785 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.5298, allocations: 19.98 kB / 0.785 GB, free: 4.816 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.5301, allocations: 181.6 kB / 0.7851 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.5302, allocations: 59.62 kB / 0.7852 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.5314, allocations: 0.7166 MB / 0.7859 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5314, allocations: 4 kB / 0.7859 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5314, allocations: 4 kB / 0.7859 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.5315, allocations: 11.92 kB / 0.7859 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.5332, allocations: 1.187 MB / 0.7871 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5332, allocations: 4.125 kB / 0.7871 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.5334, allocations: 75.91 kB / 0.7872 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.5336, allocations: 65.59 kB / 0.7872 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.5337, allocations: 19.92 kB / 0.7872 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.5358, allocations: 2.923 MB / 0.7901 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5358, allocations: 0 / 0.7901 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.537, allocations: 0.7652 MB / 0.7908 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.5371, allocations: 144.6 kB / 0.791 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.5372, allocations: 20.02 kB / 0.791 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.5374, allocations: 8 kB / 0.791 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.5374, allocations: 39.89 kB / 0.791 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.5375, allocations: 19.98 kB / 0.7911 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004095/0.5379, allocations: 366.8 kB / 0.7914 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5379, allocations: 0 / 0.7914 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005683/0.5384, allocations: 195.6 kB / 0.7916 GB, free: 13.59 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.m_flow) * 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 (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001721/0.5402, allocations: 1.48 MB / 0.793 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009464/0.5411, allocations: 0.5691 MB / 0.7936 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5411, allocations: 0 / 0.7936 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.5417, allocations: 425.8 kB / 0.794 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.5426, allocations: 182.4 kB / 0.7942 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/0.5489, allocations: 4.787 MB / 0.7989 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.5494, allocations: 0.8711 MB / 0.7997 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000314/0.5497, allocations: 122 kB / 0.7998 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.55, allocations: 235.4 kB / 0.8 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.55, allocations: 4 kB / 0.8001 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.5999, allocations: 16.74 MB / 0.8164 GB, free: 4.148 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.72, allocations: 8 kB / 0.8164 GB, free: 4.141 MB / 0.6388 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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: 13.601172640999721]