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.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.001337/0.001337, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001337/0.001337, allocations: 215.9 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8559/0.8559, allocations: 100.3 MB / 412.7 MB, free: 3.707 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 88.78 kB / 0.5633 GB, free: 35.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.173, allocations: 74.46 MB / 0.636 GB, free: 7.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.667/1.84, allocations: 0.5628 GB / 1.199 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0618/1.902, allocations: 48.81 MB / 1.246 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006378/1.908, allocations: 316.1 kB / 1.247 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0116/1.92, allocations: 4.122 MB / 1.251 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.06082/1.981, allocations: 19.14 MB / 1.269 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02053/2.001, allocations: 6.658 MB / 1.276 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01616/2.017, allocations: 9.319 MB / 1.285 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/2.021, allocations: 1.369 MB / 1.286 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/2.032, allocations: 4.913 MB / 1.291 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008174/2.041, allocations: 4.027 MB / 1.295 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002476/2.043, allocations: 0.6016 MB / 1.296 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08072/2.124, allocations: 37.83 MB / 1.333 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003934/2.128, allocations: 1.951 MB / 1.335 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007346/2.135, allocations: 3.347 MB / 1.338 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.07074/2.206, allocations: 23.04 MB / 1.36 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/2.206, allocations: 0 / 1.36 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/2.206, allocations: 0 / 1.36 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003194/2.206, allocations: 0 / 1.36 GB, free: 0.7539 MB / 0.9044 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.03053/2.237, allocations: 10.29 MB / 1.37 GB, free: 6.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001162/2.237, allocations: 12.03 kB / 1.37 GB, free: 6.344 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001447/2.238, allocations: 0.6051 MB / 1.371 GB, free: 5.727 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/2.24, allocations: 0.6909 MB / 1.372 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/2.251, allocations: 4.323 MB / 1.376 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/2.252, allocations: 334.1 kB / 1.376 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/2.253, allocations: 443.9 kB / 1.377 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/2.269, allocations: 7.417 MB / 1.384 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-05/2.27, allocations: 3.938 kB / 1.384 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005869/2.27, allocations: 179.9 kB / 1.384 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005668/2.271, allocations: 412.8 kB / 1.384 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/2.286, allocations: 8.461 MB / 1.393 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05205/2.338, allocations: 30.94 MB / 1.423 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008171/2.346, allocations: 3.971 MB / 1.427 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006223/2.352, allocations: 3.176 MB / 1.43 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003839/2.356, allocations: 1.1 MB / 1.431 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/2.356, allocations: 86.55 kB / 1.431 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=476): time 1.509e-05/2.356, allocations: 0 / 1.431 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=480): time 0.4495/2.806, allocations: 19.38 MB / 1.45 GB, free: 479.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/2.806, allocations: 131.3 kB / 1.45 GB, free: 479.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/2.812, allocations: 3.244 MB / 1.453 GB, free: 478 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/2.813, allocations: 107 kB / 1.453 GB, free: 477.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/2.815, allocations: 2.097 MB / 1.455 GB, free: 476.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002372/2.818, allocations: 1.678 MB / 1.457 GB, free: 475.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/2.819, allocations: 0.7528 MB / 1.458 GB, free: 475.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/2.819, allocations: 305.1 kB / 1.458 GB, free: 474.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003805/2.823, allocations: 2.547 MB / 1.461 GB, free: 473.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004346/2.828, allocations: 2.818 MB / 1.463 GB, free: 472.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008222/2.836, allocations: 5.79 MB / 1.469 GB, free: 469.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/2.836, allocations: 7.125 kB / 1.469 GB, free: 469.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01209/2.848, allocations: 7.364 MB / 1.476 GB, free: 466.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/2.848, allocations: 3.844 kB / 1.476 GB, free: 466.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/2.848, allocations: 6.703 kB / 1.476 GB, free: 466.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006335/2.854, allocations: 1.743 MB / 1.478 GB, free: 466.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/2.857, allocations: 0.7137 MB / 1.479 GB, free: 466.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/2.869, allocations: 12 MB / 1.49 GB, free: 457.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/2.873, allocations: 109.9 kB / 1.49 GB, free: 457.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008517/2.874, allocations: 264.9 kB / 1.491 GB, free: 457.6 MB / 0.9825 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.002959/2.877, allocations: 1.28 MB / 1.492 GB, free: 456.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/2.878, allocations: 494.3 kB / 1.492 GB, free: 456.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/2.895, allocations: 11 MB / 1.503 GB, free: 451.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/2.895, allocations: 50.34 kB / 1.503 GB, free: 451.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.586e-05/2.895, allocations: 8.812 kB / 1.503 GB, free: 451.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/2.895, allocations: 23.91 kB / 1.503 GB, free: 451.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/2.922, allocations: 15.23 MB / 1.518 GB, free: 441.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/2.922, allocations: 4 kB / 1.518 GB, free: 441.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/2.925, allocations: 0.6788 MB / 1.519 GB, free: 441.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006223/2.931, allocations: 1.785 MB / 1.521 GB, free: 439.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009071/2.932, allocations: 179.5 kB / 1.521 GB, free: 439.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/2.943, allocations: 12.02 MB / 1.532 GB, free: 426.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.943, allocations: 0 / 1.532 GB, free: 426.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/2.961, allocations: 11.77 MB / 1.544 GB, free: 415.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/2.963, allocations: 452.8 kB / 1.544 GB, free: 414.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/2.964, allocations: 99.36 kB / 1.544 GB, free: 414.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/2.966, allocations: 111.8 kB / 1.545 GB, free: 414.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007793/2.967, allocations: 382.7 kB / 1.545 GB, free: 414.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004933/2.968, allocations: 259.3 kB / 1.545 GB, free: 413.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002974/2.97, allocations: 2.311 MB / 1.547 GB, free: 411.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/2.97, allocations: 3.938 kB / 1.547 GB, free: 411.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01079/2.981, allocations: 3.571 MB / 1.551 GB, free: 408.5 MB / 0.9825 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.02639/3.008, allocations: 16.51 MB / 1.567 GB, free: 393.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01213/3.02, allocations: 6.77 MB / 1.574 GB, free: 386.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/3.02, allocations: 0 / 1.574 GB, free: 386.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.007088/3.027, allocations: 3.901 MB / 1.577 GB, free: 382.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008596/3.035, allocations: 1.641 MB / 1.579 GB, free: 381 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07551/3.111, allocations: 45.57 MB / 1.624 GB, free: 335.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003118/3.114, allocations: 3.322 MB / 1.627 GB, free: 332.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006484/3.121, allocations: 2.906 MB / 1.63 GB, free: 329.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003115/3.124, allocations: 2.537 MB / 1.632 GB, free: 327 MB / 0.9825 GB Notification: Performance of SimCode: time 1.202e-06/3.124, allocations: 0 / 1.632 GB, free: 327 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2916/3.415, allocations: 205 MB / 1.832 GB, free: 122.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.42/32.84, allocations: 0 / 1.832 GB, free: 122.4 MB / 0.9825 GB " [Timeout remaining time 627] (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/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: 37.890974088804796]