Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8885/0.8885, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5102/0.5102, allocations: 80.17 MB / 339.4 MB, free: 7.539 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.4924 GB, free: 6.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.378e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6801/0.6801, allocations: 339.1 MB / 0.8235 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01639/0.6965, allocations: 16.15 MB / 0.8393 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.6981, allocations: 118.9 kB / 0.8394 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.7015, allocations: 1.786 MB / 0.8411 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01807/0.7196, allocations: 9.058 MB / 0.85 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00949/0.7291, allocations: 4.416 MB / 0.8543 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005899/0.735, allocations: 4.515 MB / 0.8587 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009878/0.736, allocations: 0.6386 MB / 0.8593 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005279/0.7413, allocations: 3.463 MB / 0.8627 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.7429, allocations: 1.655 MB / 0.8643 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.7431, allocations: 244 kB / 0.8645 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02122/0.7643, allocations: 13.74 MB / 0.878 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000889/0.7652, allocations: 0.9422 MB / 0.8789 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.7664, allocations: 1.072 MB / 0.8799 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02104/0.7874, allocations: 10.78 MB / 0.8905 GB, free: 4.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7874, allocations: 0 / 0.8905 GB, free: 4.594 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.474e-06/0.7874, allocations: 0 / 0.8905 GB, free: 4.594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.532e-05/0.7875, allocations: 0 / 0.8905 GB, free: 4.594 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.00899/0.7964, allocations: 4.686 MB / 0.895 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.7965, allocations: 13.47 kB / 0.8951 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/0.7968, allocations: 291 kB / 0.8953 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.7977, allocations: 389.9 kB / 0.8957 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.8, allocations: 1.65 MB / 0.8973 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.8001, allocations: 147.8 kB / 0.8975 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.8003, allocations: 203.9 kB / 0.8976 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/0.8038, allocations: 3.211 MB / 0.9008 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.8039, allocations: 11.94 kB / 0.9008 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.804, allocations: 83.91 kB / 0.9009 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.8041, allocations: 179.9 kB / 0.901 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/0.8074, allocations: 3.463 MB / 0.9044 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3215/1.129, allocations: 7.921 MB / 0.9122 GB, free: 306.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/1.132, allocations: 1.484 MB / 0.9136 GB, free: 306.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/1.134, allocations: 1.278 MB / 0.9149 GB, free: 305.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/1.135, allocations: 488.1 kB / 0.9153 GB, free: 305.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.96e-05/1.135, allocations: 57.14 kB / 0.9154 GB, free: 305.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=196): time 6.632e-06/1.135, allocations: 0 / 0.9154 GB, free: 305.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=200): time 0.01332/1.149, allocations: 7.883 MB / 0.9231 GB, free: 302.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.149, allocations: 101.6 kB / 0.9232 GB, free: 302.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/1.15, allocations: 1.589 MB / 0.9247 GB, free: 301.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/1.15, allocations: 56.48 kB / 0.9248 GB, free: 301.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/1.151, allocations: 1.002 MB / 0.9258 GB, free: 300.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005929/1.152, allocations: 0.7083 MB / 0.9265 GB, free: 300.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/1.152, allocations: 353.3 kB / 0.9268 GB, free: 300.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.099e-05/1.152, allocations: 313 kB / 0.9271 GB, free: 300 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.153, allocations: 1.038 MB / 0.9281 GB, free: 299.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.155, allocations: 1.217 MB / 0.9293 GB, free: 299.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/1.157, allocations: 2.432 MB / 0.9317 GB, free: 297.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/1.157, allocations: 4.844 kB / 0.9317 GB, free: 297.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003323/1.16, allocations: 3.133 MB / 0.9347 GB, free: 296.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.16, allocations: 10.28 kB / 0.9347 GB, free: 296.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.16, allocations: 1.75 kB / 0.9347 GB, free: 296.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008717/1.161, allocations: 480 kB / 0.9352 GB, free: 296.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/1.162, allocations: 350.5 kB / 0.9355 GB, free: 296.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005064/1.167, allocations: 6.056 MB / 0.9414 GB, free: 292 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/1.168, allocations: 51.28 kB / 0.9415 GB, free: 292 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/1.168, allocations: 122.5 kB / 0.9416 GB, free: 291.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (182): * Single equations (assignments): 170 * Array equations: 10 * 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 {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006584/1.169, allocations: 0.5256 MB / 0.9421 GB, free: 291.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/1.169, allocations: 234 kB / 0.9423 GB, free: 291.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/1.173, allocations: 4.565 MB / 0.9468 GB, free: 288.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/1.173, allocations: 16 kB / 0.9468 GB, free: 288.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.173, allocations: 11.09 kB / 0.9468 GB, free: 288.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.173, allocations: 7.969 kB / 0.9468 GB, free: 288.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/1.179, allocations: 5.774 MB / 0.9525 GB, free: 282.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.179, allocations: 3.938 kB / 0.9525 GB, free: 282.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/1.18, allocations: 287.6 kB / 0.9528 GB, free: 282.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006756/1.18, allocations: 497.1 kB / 0.9532 GB, free: 281.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/1.181, allocations: 83.78 kB / 0.9533 GB, free: 281.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004188/1.185, allocations: 6.055 MB / 0.9592 GB, free: 275.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.185, allocations: 0 / 0.9592 GB, free: 275.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/1.189, allocations: 4.747 MB / 0.9639 GB, free: 270.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/1.189, allocations: 216.7 kB / 0.9641 GB, free: 270.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.189, allocations: 48 kB / 0.9641 GB, free: 270.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/1.19, allocations: 43.81 kB / 0.9642 GB, free: 270.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.19, allocations: 173.6 kB / 0.9643 GB, free: 270.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.19, allocations: 104.9 kB / 0.9644 GB, free: 270.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001194/1.191, allocations: 1.198 MB / 0.9656 GB, free: 268.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/1.191, allocations: 3.938 kB / 0.9656 GB, free: 268.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003896/1.195, allocations: 1.658 MB / 0.9672 GB, free: 267.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.inlet.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 (150): * Single equations (assignments): 138 * Array equations: 10 * 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 {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007882/1.203, allocations: 7.298 MB / 0.9743 GB, free: 260.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003372/1.207, allocations: 2.98 MB / 0.9772 GB, free: 257.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.207, allocations: 0 / 0.9772 GB, free: 257.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/1.208, allocations: 1.771 MB / 0.979 GB, free: 255.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.212, allocations: 1.157 MB / 0.9801 GB, free: 254.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.234, allocations: 20.8 MB / 1 GB, free: 233.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009674/1.235, allocations: 1.231 MB / 1.002 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002196/1.237, allocations: 1.308 MB / 1.003 GB, free: 231.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009006/1.238, allocations: 1.082 MB / 1.004 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of SimCode: time 2.375e-06/1.238, allocations: 0 / 1.004 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/1.376, allocations: 105.7 MB / 1.107 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.54, allocations: 8 kB / 1.107 GB, free: 125.4 MB / 0.7136 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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: 18.362289031036198]