Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.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.001459/0.001459, allocations: 106.2 kB / 16.45 MB, free: 6.508 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.001398/0.001398, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.542/1.542, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.8277/0.8277, allocations: 94.6 MB / 397.3 MB, free: 260 kB / 302.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.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 84.94 kB / 0.5416 GB, free: 42.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1621, allocations: 71.86 MB / 0.6118 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.559/1.721, allocations: 0.5597 GB / 1.171 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04697/1.768, allocations: 48.51 MB / 1.219 GB, free: 11.12 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004816/1.773, allocations: 224.7 kB / 1.219 GB, free: 11.12 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00938/1.782, allocations: 4.119 MB / 1.223 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.05152/1.834, allocations: 19.11 MB / 1.242 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01847/1.852, allocations: 6.469 MB / 1.248 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01418/1.866, allocations: 9.237 MB / 1.257 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003028/1.869, allocations: 1.807 MB / 1.259 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008595/1.878, allocations: 4.689 MB / 1.263 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005934/1.884, allocations: 4.009 MB / 1.267 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001097/1.885, allocations: 0.6016 MB / 1.268 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06726/1.952, allocations: 37.29 MB / 1.304 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003526/1.956, allocations: 1.956 MB / 1.306 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00538/1.961, allocations: 3.335 MB / 1.31 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.06059/2.022, allocations: 23.03 MB / 1.332 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/2.022, allocations: 0 / 1.332 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/2.022, allocations: 0 / 1.332 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001552/2.022, allocations: 4 kB / 1.332 GB, free: 7.633 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1158 * Number of variables: 1158 Notification: Performance of Generate backend data structure: time 0.02482/2.047, allocations: 10.36 MB / 1.342 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/2.047, allocations: 12.03 kB / 1.342 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009322/2.048, allocations: 0.6037 MB / 1.343 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/2.049, allocations: 0.6832 MB / 1.343 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008845/2.058, allocations: 4.458 MB / 1.348 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/2.058, allocations: 327.2 kB / 1.348 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006659/2.059, allocations: 449.8 kB / 1.348 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/2.07, allocations: 7.333 MB / 1.356 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/2.071, allocations: 0 / 1.356 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/2.071, allocations: 183.9 kB / 1.356 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004979/2.072, allocations: 408.8 kB / 1.356 GB, free: 14.92 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/2.084, allocations: 8.302 MB / 1.364 GB, free: 6.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04532/2.13, allocations: 30.95 MB / 1.395 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006836/2.136, allocations: 3.974 MB / 1.398 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005024/2.141, allocations: 3.169 MB / 1.402 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007377/2.149, allocations: 8.105 MB / 1.409 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/2.149, allocations: 86.55 kB / 1.41 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=476): time 9.788e-06/2.149, allocations: 0 / 1.41 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=480): time 0.3583/2.507, allocations: 20.53 MB / 1.43 GB, free: 478.4 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/2.507, allocations: 126.9 kB / 1.43 GB, free: 478.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/2.512, allocations: 3.247 MB / 1.433 GB, free: 477.1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0008473/2.513, allocations: 105.7 kB / 1.433 GB, free: 477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/2.514, allocations: 2.1 MB / 1.435 GB, free: 475.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/2.515, allocations: 1.685 MB / 1.437 GB, free: 474.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/2.517, allocations: 0.7411 MB / 1.437 GB, free: 474.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/2.517, allocations: 305.1 kB / 1.438 GB, free: 473.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003242/2.52, allocations: 2.552 MB / 1.44 GB, free: 472.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003638/2.523, allocations: 2.817 MB / 1.443 GB, free: 471.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007719/2.531, allocations: 5.801 MB / 1.449 GB, free: 469 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/2.531, allocations: 0 / 1.449 GB, free: 469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01128/2.542, allocations: 7.368 MB / 1.456 GB, free: 465.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/2.542, allocations: 7.938 kB / 1.456 GB, free: 465.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/2.542, allocations: 3.5 kB / 1.456 GB, free: 465.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006235/2.549, allocations: 1.748 MB / 1.457 GB, free: 465.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/2.552, allocations: 0.707 MB / 1.458 GB, free: 465.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/2.564, allocations: 12.21 MB / 1.47 GB, free: 456.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/2.567, allocations: 113.3 kB / 1.47 GB, free: 456.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009342/2.568, allocations: 263.5 kB / 1.47 GB, free: 456.4 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (404): * Single equations (assignments): 367 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (2,4), (1,5), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002755/2.571, allocations: 1.269 MB / 1.472 GB, free: 455.7 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/2.572, allocations: 492.2 kB / 1.472 GB, free: 455.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/2.589, allocations: 11 MB / 1.483 GB, free: 450.2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/2.589, allocations: 49.47 kB / 1.483 GB, free: 450.2 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001266/2.59, allocations: 11.56 kB / 1.483 GB, free: 450.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-05/2.59, allocations: 27.62 kB / 1.483 GB, free: 450.2 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02596/2.616, allocations: 15.23 MB / 1.498 GB, free: 437.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/2.616, allocations: 4 kB / 1.498 GB, free: 437.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/2.618, allocations: 0.6826 MB / 1.499 GB, free: 436.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006126/2.624, allocations: 1.795 MB / 1.5 GB, free: 434.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008093/2.625, allocations: 179.1 kB / 1.5 GB, free: 434.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/2.636, allocations: 12.23 MB / 1.512 GB, free: 422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.636, allocations: 4 kB / 1.512 GB, free: 422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/2.654, allocations: 11.78 MB / 1.524 GB, free: 410.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/2.656, allocations: 0.5179 MB / 1.524 GB, free: 409.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/2.657, allocations: 99.59 kB / 1.525 GB, free: 409.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/2.659, allocations: 111.8 kB / 1.525 GB, free: 409.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005908/2.66, allocations: 363.4 kB / 1.525 GB, free: 409.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004696/2.66, allocations: 259.7 kB / 1.525 GB, free: 408.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002923/2.663, allocations: 2.311 MB / 1.527 GB, free: 406.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/2.663, allocations: 0 / 1.527 GB, free: 406.6 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01061/2.674, allocations: 3.564 MB / 1.531 GB, free: 403.5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (dynamicJunctionNM1.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow3.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow5.inlet.m_flow,dynamicJunctionNM.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow1.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow2.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 (400): * Single equations (assignments): 363 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,4), (2,4), (1,5), (2,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02648/2.7, allocations: 16.51 MB / 1.547 GB, free: 388.2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01046/2.711, allocations: 6.775 MB / 1.554 GB, free: 381.4 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.711, allocations: 3.938 kB / 1.554 GB, free: 381.4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005722/2.716, allocations: 3.899 MB / 1.558 GB, free: 377.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00692/2.723, allocations: 1.62 MB / 1.559 GB, free: 376 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06756/2.791, allocations: 45.54 MB / 1.604 GB, free: 330.6 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/2.794, allocations: 3.323 MB / 1.607 GB, free: 327.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.006255/2.8, allocations: 2.894 MB / 1.61 GB, free: 324.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003101/2.803, allocations: 2.538 MB / 1.612 GB, free: 321.9 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/2.803, allocations: 0 / 1.612 GB, free: 321.9 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/3.079, allocations: 201 MB / 1.808 GB, free: 121.4 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.43/31.51, allocations: 7.984 kB / 1.808 GB, free: 121.4 MB / 0.9669 GB " [Timeout remaining time 628] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.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: 36.69675223669037]