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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001488/0.001488, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.584/1.584, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6978/0.6978, allocations: 94.61 MB / 397.3 MB, free: 0.5664 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 79.88 kB / 0.5416 GB, free: 14.03 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5147, allocations: 71.85 MB / 0.6118 GB, free: 3.969 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3059/0.8206, allocations: 226.2 MB / 0.8327 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04465/0.8653, allocations: 31.05 MB / 0.863 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0036/0.8689, allocations: 143.1 kB / 0.8631 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0053/0.8742, allocations: 1.747 MB / 0.8648 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.5442/1.418, allocations: 2.733 MB / 0.8675 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01087/1.429, allocations: 2.599 MB / 0.87 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01107/1.44, allocations: 4.822 MB / 0.8748 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/1.443, allocations: 0.6535 MB / 0.8754 GB, free: 20.26 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008419/1.451, allocations: 2.444 MB / 0.8778 GB, free: 20.26 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006185/1.458, allocations: 2.334 MB / 0.8801 GB, free: 20.26 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001362/1.459, allocations: 266.6 kB / 0.8803 GB, free: 20.26 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/1.471, allocations: 3.791 MB / 0.884 GB, free: 20.23 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/1.473, allocations: 0.6343 MB / 0.8846 GB, free: 20.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004014/1.477, allocations: 1.56 MB / 0.8862 GB, free: 20.04 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01575/1.492, allocations: 5 MB / 0.891 GB, free: 19.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.492, allocations: 0 / 0.891 GB, free: 19.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.755e-06/1.492, allocations: 0 / 0.891 GB, free: 19.29 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001715/1.493, allocations: 1.094 kB / 0.891 GB, free: 19.29 MB / 0.7012 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.01097/1.504, allocations: 3.68 MB / 0.8946 GB, free: 17.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.504, allocations: 10.25 kB / 0.8946 GB, free: 17.61 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004009/1.504, allocations: 291.3 kB / 0.8949 GB, free: 17.56 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009667/1.505, allocations: 354.2 kB / 0.8953 GB, free: 17.37 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004584/1.51, allocations: 2.073 MB / 0.8973 GB, free: 16.78 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/1.51, allocations: 159.9 kB / 0.8974 GB, free: 16.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/1.51, allocations: 225.1 kB / 0.8977 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/1.515, allocations: 2.473 MB / 0.9001 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/1.515, allocations: 0 / 0.9001 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/1.515, allocations: 85.91 kB / 0.9002 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/1.515, allocations: 51.12 kB / 0.9002 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/1.519, allocations: 2.227 MB / 0.9024 GB, free: 16.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/1.536, allocations: 11.23 MB / 0.9133 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/1.54, allocations: 1.629 MB / 0.9149 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/1.541, allocations: 0.8049 MB / 0.9157 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/1.551, allocations: 6.536 MB / 0.9221 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/1.553, allocations: 1.043 MB / 0.9231 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=183): time 1.516e-05/1.553, allocations: 0.625 kB / 0.9231 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of matching and sorting (n=184): time 0.01419/1.568, allocations: 6.165 MB / 0.9291 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/1.568, allocations: 97.02 kB / 0.9292 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/1.57, allocations: 1.874 MB / 0.9311 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/1.571, allocations: 55.48 kB / 0.9311 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.572, allocations: 1.109 MB / 0.9322 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006484/1.572, allocations: 0.6481 MB / 0.9328 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/1.573, allocations: 296.4 kB / 0.9331 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.573, allocations: 306.5 kB / 0.9334 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/1.574, allocations: 0.6709 MB / 0.9341 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.576, allocations: 0.8532 MB / 0.9349 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/1.579, allocations: 1.664 MB / 0.9365 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.579, allocations: 6.812 kB / 0.9365 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005506/1.584, allocations: 2.544 MB / 0.939 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/1.584, allocations: 37.67 kB / 0.939 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.584, allocations: 2.969 kB / 0.939 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/1.586, allocations: 0.6185 MB / 0.9397 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.588, allocations: 296.5 kB / 0.9399 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/1.607, allocations: 16.23 MB / 0.9558 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/1.609, allocations: 99.2 kB / 0.9559 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004393/1.609, allocations: 71.88 kB / 0.9559 GB, free: 5.027 MB / 0.7169 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.001182/1.61, allocations: 444.8 kB / 0.9564 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008/1.611, allocations: 275.5 kB / 0.9566 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006814/1.618, allocations: 3.433 MB / 0.96 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.618, allocations: 21.94 kB / 0.96 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/1.618, allocations: 11 kB / 0.96 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/1.618, allocations: 11.95 kB / 0.96 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/1.628, allocations: 5.145 MB / 0.9651 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.628, allocations: 7.844 kB / 0.9651 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/1.629, allocations: 290.1 kB / 0.9653 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/1.631, allocations: 0.5397 MB / 0.9659 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/1.631, allocations: 72.36 kB / 0.9659 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/1.647, allocations: 15.25 MB / 0.9808 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.647, allocations: 4.031 kB / 0.9808 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008241/1.655, allocations: 3.704 MB / 0.9845 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.656, allocations: 343 kB / 0.9848 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006475/1.657, allocations: 55.83 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.658, allocations: 63.95 kB / 0.9849 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004741/1.658, allocations: 172.9 kB / 0.9851 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.658, allocations: 67.97 kB / 0.9851 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002378/1.661, allocations: 1.329 MB / 0.9864 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.463e-06/1.661, allocations: 4 kB / 0.9864 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004/1.665, allocations: 0.8976 MB / 0.9873 GB, free: 15.75 MB / 0.7481 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.009925/1.675, allocations: 5.171 MB / 0.9924 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006626/1.681, allocations: 2.974 MB / 0.9953 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.681, allocations: 4 kB / 0.9953 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004258/1.686, allocations: 2.173 MB / 0.9974 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/1.69, allocations: 0.8232 MB / 0.9982 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/1.728, allocations: 19.14 MB / 1.017 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/1.73, allocations: 1.684 MB / 1.019 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002552/1.732, allocations: 0.5209 MB / 1.019 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/1.734, allocations: 1.159 MB / 1.02 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of SimCode: time 1.684e-06/1.734, allocations: 0 / 1.02 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1819/1.916, allocations: 77.87 MB / 1.096 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/17.51, allocations: 15.12 kB / 1.096 GB, free: 0.6055 MB / 0.8419 GB " [Timeout remaining time 642] (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 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1260.0] 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_2/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable pulse.T_start in file ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat. Warning: Get data of variable pulse.T_start from file ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat failed! Error: Could not read variable pulse.count in file ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat. Warning: Get data of variable pulse.count from file ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.53823709813878]