Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009976, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009564/0.0009564, allocations: 191.5 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.567/0.567, allocations: 89.51 MB / 379.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 83.3 kB / 457.7 MB, free: 23.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.0975, allocations: 67.31 MB / 0.5127 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3794/0.477, allocations: 224.1 MB / 0.7315 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02993/0.5069, allocations: 30.99 MB / 0.7618 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.5092, allocations: 51.75 kB / 0.7618 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.5126, allocations: 1.516 MB / 0.7633 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004792/0.5174, allocations: 2.273 MB / 0.7655 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005052/0.5224, allocations: 2.336 MB / 0.7678 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004212/0.5267, allocations: 5.106 MB / 0.7728 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.5278, allocations: 0.8923 MB / 0.7737 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.5306, allocations: 1.906 MB / 0.7755 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.5329, allocations: 2.192 MB / 0.7777 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.5331, allocations: 172 kB / 0.7778 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006083/0.5392, allocations: 3.641 MB / 0.7814 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000379/0.5396, allocations: 0.498 MB / 0.7819 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.5407, allocations: 1.31 MB / 0.7832 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.5455, allocations: 4.296 MB / 0.7873 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5455, allocations: 3.984 kB / 0.7874 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5455, allocations: 4 kB / 0.7874 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.5456, allocations: 0 / 0.7874 GB, free: 9.746 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.005009/0.5506, allocations: 3.036 MB / 0.7903 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.5506, allocations: 12.03 kB / 0.7903 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000295/0.5509, allocations: 287.7 kB / 0.7906 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.5513, allocations: 269.8 kB / 0.7909 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.5527, allocations: 1.168 MB / 0.792 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.5528, allocations: 160.1 kB / 0.7922 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.5531, allocations: 227.7 kB / 0.7924 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/0.5565, allocations: 2.472 MB / 0.7948 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.5566, allocations: 4 kB / 0.7948 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.5567, allocations: 84 kB / 0.7949 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/0.5568, allocations: 52 kB / 0.7949 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/0.5601, allocations: 2.23 MB / 0.7971 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.5707, allocations: 11.05 MB / 0.8079 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.5737, allocations: 1.758 MB / 0.8096 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.575, allocations: 0.8982 MB / 0.8105 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006725/0.5818, allocations: 6.55 MB / 0.8169 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.5834, allocations: 1.043 MB / 0.8179 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=183): time 2.835e-06/0.5834, allocations: 0 / 0.8179 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of matching and sorting (n=184): time 0.01028/0.5937, allocations: 5.845 MB / 0.8236 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.5938, allocations: 99.11 kB / 0.8237 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5952, allocations: 1.316 MB / 0.825 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.5953, allocations: 57.7 kB / 0.825 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/0.5959, allocations: 0.8162 MB / 0.8258 GB, free: 56 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.2146/0.8105, allocations: 0.6149 MB / 0.8264 GB, free: 161.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.811, allocations: 291.2 kB / 0.8267 GB, free: 161.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 3.299e-05/0.8111, allocations: 310 kB / 0.827 GB, free: 161.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.8123, allocations: 0.669 MB / 0.8277 GB, free: 161.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.8138, allocations: 0.8545 MB / 0.8285 GB, free: 161 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.8164, allocations: 1.663 MB / 0.8301 GB, free: 160.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.8164, allocations: 3.969 kB / 0.8301 GB, free: 160.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004334/0.8207, allocations: 2.488 MB / 0.8326 GB, free: 160.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.8208, allocations: 32.05 kB / 0.8326 GB, free: 160.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.8208, allocations: 3.312 kB / 0.8326 GB, free: 160.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.8225, allocations: 0.6195 MB / 0.8332 GB, free: 160.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.8235, allocations: 298 kB / 0.8335 GB, free: 160.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.8365, allocations: 15.04 MB / 0.8482 GB, free: 149 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.8379, allocations: 154.8 kB / 0.8483 GB, free: 148.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.8381, allocations: 74.19 kB / 0.8484 GB, free: 148.9 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006906/0.8388, allocations: 399.4 kB / 0.8488 GB, free: 148.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.8391, allocations: 191.5 kB / 0.8489 GB, free: 148.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/0.8445, allocations: 3.402 MB / 0.8523 GB, free: 148.3 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.8446, allocations: 19.03 kB / 0.8523 GB, free: 148.3 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.8446, allocations: 8.531 kB / 0.8523 GB, free: 148.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.8446, allocations: 13.78 kB / 0.8523 GB, free: 148.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006716/0.8513, allocations: 4.983 MB / 0.8572 GB, free: 146.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.8513, allocations: 9.75 kB / 0.8572 GB, free: 146.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/0.8522, allocations: 283.2 kB / 0.8575 GB, free: 146.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.8537, allocations: 0.5479 MB / 0.858 GB, free: 146 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.8538, allocations: 70.47 kB / 0.8581 GB, free: 145.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007783/0.8616, allocations: 14.05 MB / 0.8718 GB, free: 132.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8616, allocations: 7.188 kB / 0.8718 GB, free: 132.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/0.8668, allocations: 3.638 MB / 0.8753 GB, free: 131.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.8671, allocations: 269.6 kB / 0.8756 GB, free: 130.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.8674, allocations: 64.14 kB / 0.8757 GB, free: 130.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/0.8684, allocations: 109.4 kB / 0.8758 GB, free: 130.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.8686, allocations: 169.5 kB / 0.8759 GB, free: 130.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.8688, allocations: 72.34 kB / 0.876 GB, free: 130.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009527/0.8697, allocations: 0.9771 MB / 0.8769 GB, free: 130.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.92e-07/0.8697, allocations: 0 / 0.8769 GB, free: 130.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002028/0.8718, allocations: 0.8839 MB / 0.8778 GB, free: 130.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006155/0.8779, allocations: 5.092 MB / 0.8828 GB, free: 127.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0038/0.8817, allocations: 3.075 MB / 0.8858 GB, free: 125.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8817, allocations: 2.781 kB / 0.8858 GB, free: 125.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002534/0.8843, allocations: 2.253 MB / 0.888 GB, free: 124.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/0.8871, allocations: 0.729 MB / 0.8887 GB, free: 123.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/0.9079, allocations: 19.64 MB / 0.9079 GB, free: 106.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.9087, allocations: 1.487 MB / 0.9093 GB, free: 105 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001232/0.9099, allocations: 463.8 kB / 0.9098 GB, free: 104.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008099/0.9107, allocations: 0.8898 MB / 0.9106 GB, free: 103.8 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.9107, allocations: 0 / 0.9106 GB, free: 103.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06544/0.9762, allocations: 67.57 MB / 0.9766 GB, free: 36.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001166/0.9763, allocations: 234.8 kB / 0.9769 GB, free: 36.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/4.158, allocations: 8 kB / 0.9769 GB, free: 36.54 MB / 0.6231 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches