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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.005413/0.005413, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001472/0.001472, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6415/0.6415, allocations: 89.47 MB / 380 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 79.88 kB / 0.5139 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.113, allocations: 67.3 MB / 0.5797 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.441/0.554, allocations: 224.3 MB / 0.7987 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0342/0.5883, allocations: 30.62 MB / 0.8286 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.5901, allocations: 47.75 kB / 0.8287 GB, free: 13.1 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004016/0.5942, allocations: 1.689 MB / 0.8303 GB, free: 11.4 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006279/0.6005, allocations: 2.442 MB / 0.8327 GB, free: 8.945 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006264/0.6068, allocations: 2.584 MB / 0.8352 GB, free: 6.352 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005073/0.6119, allocations: 4.258 MB / 0.8394 GB, free: 2.074 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.6133, allocations: 0.9752 MB / 0.8403 GB, free: 1.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2871/0.9004, allocations: 2.083 MB / 0.8424 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003485/0.9039, allocations: 2.196 MB / 0.8445 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006988/0.9046, allocations: 271.4 kB / 0.8448 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00711/0.9117, allocations: 3.722 MB / 0.8484 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006197/0.9124, allocations: 0.5943 MB / 0.849 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.9144, allocations: 1.404 MB / 0.8504 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008447/0.9228, allocations: 4.456 MB / 0.8547 GB, free: 8.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9229, allocations: 1.266 kB / 0.8547 GB, free: 8.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9229, allocations: 0.8438 kB / 0.8547 GB, free: 8.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.253e-05/0.923, allocations: 0 / 0.8547 GB, free: 8.18 MB / 0.67 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.006824/0.9298, allocations: 3.111 MB / 0.8578 GB, free: 6.793 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9299, allocations: 11.38 kB / 0.8578 GB, free: 6.793 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002966/0.9302, allocations: 292.7 kB / 0.8581 GB, free: 6.742 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/0.9307, allocations: 283.1 kB / 0.8583 GB, free: 6.602 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.9323, allocations: 1.176 MB / 0.8595 GB, free: 6.172 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.9324, allocations: 159.3 kB / 0.8596 GB, free: 6.164 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/0.9327, allocations: 225.3 kB / 0.8598 GB, free: 6.152 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.9364, allocations: 2.475 MB / 0.8623 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/0.9364, allocations: 2.281 kB / 0.8623 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.9366, allocations: 88.64 kB / 0.8623 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.9367, allocations: 51.94 kB / 0.8624 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.9401, allocations: 2.226 MB / 0.8646 GB, free: 5.848 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.9523, allocations: 11.02 MB / 0.8753 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.9554, allocations: 1.763 MB / 0.8771 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.9567, allocations: 0.91 MB / 0.8779 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007385/0.9641, allocations: 6.556 MB / 0.8843 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.9657, allocations: 1.041 MB / 0.8854 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=183): time 3.336e-06/0.9657, allocations: 3.375 kB / 0.8854 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=184): time 0.01057/0.9762, allocations: 5.9 MB / 0.8911 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.9763, allocations: 99.55 kB / 0.8912 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.9777, allocations: 1.317 MB / 0.8925 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.9779, allocations: 56.14 kB / 0.8926 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.9784, allocations: 0.8278 MB / 0.8934 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.9788, allocations: 0.6503 MB / 0.894 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/0.9792, allocations: 291.6 kB / 0.8943 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9793, allocations: 301.1 kB / 0.8946 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.9804, allocations: 0.6695 MB / 0.8952 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.9816, allocations: 0.8586 MB / 0.8961 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/0.984, allocations: 1.661 MB / 0.8977 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9841, allocations: 6.844 kB / 0.8977 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004545/0.9886, allocations: 2.497 MB / 0.9001 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.9887, allocations: 36.59 kB / 0.9002 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9887, allocations: 5.547 kB / 0.9002 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.9905, allocations: 0.625 MB / 0.9008 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.9915, allocations: 296.9 kB / 0.9011 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/1.008, allocations: 16.24 MB / 0.9169 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.009, allocations: 96.73 kB / 0.917 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/1.01, allocations: 74.69 kB / 0.9171 GB, free: 10.8 MB / 0.7012 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.0008129/1.01, allocations: 403.8 kB / 0.9175 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/1.011, allocations: 204.6 kB / 0.9177 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/1.016, allocations: 3.4 MB / 0.921 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/1.016, allocations: 19.5 kB / 0.921 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.016, allocations: 8.688 kB / 0.921 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.016, allocations: 11.19 kB / 0.921 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007421/1.024, allocations: 4.972 MB / 0.9259 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.024, allocations: 3.938 kB / 0.9259 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/1.025, allocations: 286.7 kB / 0.9262 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/1.026, allocations: 0.5428 MB / 0.9267 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/1.026, allocations: 72.75 kB / 0.9268 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/1.039, allocations: 15.27 MB / 0.9417 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.039, allocations: 3.562 kB / 0.9417 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/1.044, allocations: 3.641 MB / 0.9452 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/1.045, allocations: 287.1 kB / 0.9455 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/1.045, allocations: 54.2 kB / 0.9456 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/1.046, allocations: 63.64 kB / 0.9456 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/1.047, allocations: 174.2 kB / 0.9458 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.047, allocations: 72.94 kB / 0.9459 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001052/1.048, allocations: 0.9719 MB / 0.9468 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/1.048, allocations: 0 / 0.9468 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002446/1.05, allocations: 0.8829 MB / 0.9477 GB, free: 11.93 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.007759/1.058, allocations: 5.11 MB / 0.9527 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005221/1.063, allocations: 3.089 MB / 0.9557 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.063, allocations: 4 kB / 0.9557 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003454/1.067, allocations: 2.252 MB / 0.9579 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.071, allocations: 0.7741 MB / 0.9586 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02826/1.099, allocations: 16.77 MB / 0.975 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.1, allocations: 1.491 MB / 0.9765 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001587/1.102, allocations: 462 kB / 0.9769 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/1.103, allocations: 0.8937 MB / 0.9778 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/1.103, allocations: 0 / 0.9778 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1421/1.245, allocations: 70.25 MB / 1.046 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.44, allocations: 22.59 kB / 1.046 GB, free: 10.26 MB / 0.8106 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