Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_dev_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.01103/0.01103, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.002085/0.002084, allocations: 196.1 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.039/2.039, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.319/1.319, allocations: 93.71 MB / 384.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003046/0.003046, allocations: 79.88 kB / 0.52 GB, free: 1.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7367, allocations: 68.25 MB / 0.5866 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 1.217/1.953, allocations: 225 MB / 0.8064 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06084/2.014, allocations: 30.94 MB / 0.8366 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008947/2.024, allocations: 142.1 kB / 0.8367 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01074/2.034, allocations: 1.737 MB / 0.8384 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01837/2.053, allocations: 2.661 MB / 0.841 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01471/2.068, allocations: 2.588 MB / 0.8436 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0143/2.082, allocations: 4.833 MB / 0.8483 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003487/2.086, allocations: 1.058 MB / 0.8493 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/2.096, allocations: 2.374 MB / 0.8516 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007688/2.104, allocations: 2.291 MB / 0.8539 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/2.106, allocations: 264 kB / 0.8541 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01783/2.123, allocations: 3.733 MB / 0.8578 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00236/2.126, allocations: 0.6219 MB / 0.8584 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00693/2.133, allocations: 1.56 MB / 0.8599 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02562/2.159, allocations: 4.984 MB / 0.8648 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/2.159, allocations: 0 / 0.8648 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.553e-06/2.159, allocations: 0 / 0.8648 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001967/2.159, allocations: 0 / 0.8648 GB, free: 4.883 MB / 0.6075 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.01375/2.173, allocations: 3.668 MB / 0.8683 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001541/2.173, allocations: 12.02 kB / 0.8684 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006252/2.173, allocations: 291.7 kB / 0.8686 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/2.175, allocations: 362.7 kB / 0.869 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006417/2.181, allocations: 2.08 MB / 0.871 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/2.181, allocations: 152.2 kB / 0.8712 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000431/2.182, allocations: 227.8 kB / 0.8714 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007045/2.189, allocations: 2.472 MB / 0.8738 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/2.189, allocations: 8 kB / 0.8738 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/2.19, allocations: 80 kB / 0.8739 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/2.19, allocations: 52 kB / 0.8739 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005312/2.195, allocations: 2.222 MB / 0.8761 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02254/2.217, allocations: 11.23 MB / 0.8871 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/2.222, allocations: 1.768 MB / 0.8888 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/2.224, allocations: 0.9021 MB / 0.8897 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/2.237, allocations: 6.534 MB / 0.896 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002541/2.24, allocations: 1.035 MB / 0.8971 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=183): time 8.005e-06/2.24, allocations: 0 / 0.8971 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of matching and sorting (n=184): time 0.01742/2.257, allocations: 6.182 MB / 0.9031 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/2.257, allocations: 95.11 kB / 0.9032 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004323/2.262, allocations: 1.879 MB / 0.905 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/2.262, allocations: 57.7 kB / 0.9051 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/2.263, allocations: 1.116 MB / 0.9062 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009066/2.264, allocations: 0.6499 MB / 0.9068 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007075/2.265, allocations: 295.5 kB / 0.9071 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002121/2.265, allocations: 301.1 kB / 0.9074 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/2.267, allocations: 0.6677 MB / 0.908 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/2.269, allocations: 0.8571 MB / 0.9089 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/2.273, allocations: 1.669 MB / 0.9105 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/2.273, allocations: 0 / 0.9105 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007366/2.28, allocations: 2.566 MB / 0.913 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.388e-05/2.281, allocations: 33.64 kB / 0.913 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/2.281, allocations: 4 kB / 0.913 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/2.283, allocations: 0.6234 MB / 0.9136 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/2.285, allocations: 295.6 kB / 0.9139 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02589/2.311, allocations: 16.22 MB / 0.9298 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/2.313, allocations: 99.56 kB / 0.9299 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006696/2.314, allocations: 76.05 kB / 0.9299 GB, free: 14.73 MB / 0.6856 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.002168/2.316, allocations: 434.5 kB / 0.9303 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/2.318, allocations: 274.2 kB / 0.9306 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009292/2.327, allocations: 3.465 MB / 0.934 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/2.327, allocations: 20 kB / 0.934 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/2.327, allocations: 11.98 kB / 0.934 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/2.327, allocations: 7.969 kB / 0.934 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/2.341, allocations: 5.184 MB / 0.9391 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/2.341, allocations: 0 / 0.9391 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/2.342, allocations: 283.7 kB / 0.9394 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/2.345, allocations: 0.5462 MB / 0.9399 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/2.345, allocations: 71.91 kB / 0.94 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/2.364, allocations: 15.25 MB / 0.9549 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/2.364, allocations: 7.969 kB / 0.9549 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/2.374, allocations: 3.722 MB / 0.9585 GB, free: 56 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/2.376, allocations: 343 kB / 0.9588 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/2.376, allocations: 51.89 kB / 0.9589 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/2.378, allocations: 59.95 kB / 0.9589 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006646/2.378, allocations: 173.8 kB / 0.9591 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/2.379, allocations: 75.97 kB / 0.9592 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002768/2.381, allocations: 1.329 MB / 0.9605 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/2.381, allocations: 0 / 0.9605 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004319/2.386, allocations: 0.8975 MB / 0.9613 GB, free: 13.11 MB / 0.7169 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.01184/2.398, allocations: 5.184 MB / 0.9664 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007639/2.405, allocations: 3.088 MB / 0.9694 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.405, allocations: 4 kB / 0.9694 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005073/2.41, allocations: 2.258 MB / 0.9716 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/2.416, allocations: 0.822 MB / 0.9724 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04698/2.463, allocations: 19.17 MB / 0.9911 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/2.465, allocations: 1.692 MB / 0.9928 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00312/2.469, allocations: 0.5192 MB / 0.9933 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/2.471, allocations: 1.163 MB / 0.9944 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.625e-06/2.471, allocations: 4 kB / 0.9944 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8995/3.37, allocations: 77.38 MB / 1.07 GB, free: 317.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.16/31.53, allocations: 12.8 kB / 1.07 GB, free: 317.9 MB / 0.7794 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches