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.001688/0.001688, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002095/0.002095, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8002/0.8002, allocations: 100.3 MB / 413.5 MB, free: 3.668 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="cs",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.002372/0.002372, allocations: 81.08 kB / 0.564 GB, free: 35.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1372, allocations: 74.47 MB / 0.6368 GB, free: 7.656 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.427/1.565, allocations: 0.5628 GB / 1.2 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.05041/1.615, allocations: 48.82 MB / 1.247 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005636/1.621, allocations: 311.1 kB / 1.248 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01366/1.634, allocations: 4.12 MB / 1.252 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.05762/1.692, allocations: 19.14 MB / 1.27 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0182/1.71, allocations: 6.666 MB / 1.277 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01415/1.724, allocations: 9.314 MB / 1.286 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00304/1.727, allocations: 1.375 MB / 1.287 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/1.738, allocations: 4.907 MB / 1.292 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007674/1.746, allocations: 4.023 MB / 1.296 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002297/1.748, allocations: 0.6016 MB / 1.297 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07467/1.823, allocations: 37.83 MB / 1.333 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00423/1.827, allocations: 1.955 MB / 1.335 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007689/1.835, allocations: 3.34 MB / 1.339 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.06503/1.9, allocations: 23.04 MB / 1.361 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.9, allocations: 0 / 1.361 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.615e-06/1.9, allocations: 0 / 1.361 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003008/1.9, allocations: 4 kB / 1.361 GB, free: 0.7266 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.03007/1.93, allocations: 10.29 MB / 1.371 GB, free: 6.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.93, allocations: 16.02 kB / 1.371 GB, free: 6.312 MB / 0.92 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001529/1.93, allocations: 116.7 kB / 1.371 GB, free: 6.195 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001568/1.932, allocations: 0.6012 MB / 1.372 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/1.934, allocations: 0.6909 MB / 1.373 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/1.945, allocations: 4.335 MB / 1.377 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/1.945, allocations: 324.6 kB / 1.377 GB, free: 156 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/1.947, allocations: 439.9 kB / 1.378 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/1.963, allocations: 7.424 MB / 1.385 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.15e-05/1.963, allocations: 0 / 1.385 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005016/1.964, allocations: 176 kB / 1.385 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006027/1.965, allocations: 412.8 kB / 1.385 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/1.981, allocations: 8.464 MB / 1.394 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05252/2.033, allocations: 30.94 MB / 1.424 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008421/2.042, allocations: 3.979 MB / 1.428 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005936/2.048, allocations: 3.168 MB / 1.431 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003805/2.051, allocations: 1.104 MB / 1.432 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/2.051, allocations: 79.31 kB / 1.432 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=476): time 1.34e-05/2.051, allocations: 0 / 1.432 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=480): time 0.3752/2.427, allocations: 19.39 MB / 1.451 GB, free: 479.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/2.427, allocations: 131.5 kB / 1.451 GB, free: 479.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005746/2.432, allocations: 3.244 MB / 1.454 GB, free: 478.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/2.434, allocations: 107.2 kB / 1.454 GB, free: 478.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/2.435, allocations: 2.093 MB / 1.456 GB, free: 476.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002255/2.437, allocations: 1.68 MB / 1.458 GB, free: 475.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/2.439, allocations: 0.758 MB / 1.459 GB, free: 475.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/2.439, allocations: 304.4 kB / 1.459 GB, free: 475.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/2.443, allocations: 2.552 MB / 1.461 GB, free: 474.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003885/2.446, allocations: 2.816 MB / 1.464 GB, free: 473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007711/2.454, allocations: 5.785 MB / 1.47 GB, free: 470.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/2.454, allocations: 3.938 kB / 1.47 GB, free: 470.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01159/2.466, allocations: 7.37 MB / 1.477 GB, free: 467.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/2.466, allocations: 7.906 kB / 1.477 GB, free: 467.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/2.466, allocations: 0 / 1.477 GB, free: 467.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006376/2.472, allocations: 1.75 MB / 1.479 GB, free: 466.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/2.475, allocations: 0.7103 MB / 1.48 GB, free: 466.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/2.487, allocations: 11.99 MB / 1.491 GB, free: 458.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/2.491, allocations: 117.8 kB / 1.491 GB, free: 458.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/2.492, allocations: 262.1 kB / 1.492 GB, free: 458 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.003206/2.496, allocations: 1.28 MB / 1.493 GB, free: 457.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001899/2.498, allocations: 497.6 kB / 1.493 GB, free: 457 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/2.515, allocations: 10.99 MB / 1.504 GB, free: 452.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001499/2.516, allocations: 56.78 kB / 1.504 GB, free: 452.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-05/2.516, allocations: 9.281 kB / 1.504 GB, free: 452.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.057e-05/2.516, allocations: 24 kB / 1.504 GB, free: 452.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/2.543, allocations: 15.23 MB / 1.519 GB, free: 441.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/2.543, allocations: 4 kB / 1.519 GB, free: 441.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/2.546, allocations: 0.6826 MB / 1.52 GB, free: 441.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006259/2.552, allocations: 1.785 MB / 1.521 GB, free: 439.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008607/2.553, allocations: 179.1 kB / 1.522 GB, free: 439.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/2.564, allocations: 12.02 MB / 1.533 GB, free: 426.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.564, allocations: 5.641 kB / 1.533 GB, free: 426.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/2.584, allocations: 11.77 MB / 1.545 GB, free: 415 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/2.586, allocations: 450.8 kB / 1.545 GB, free: 414.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/2.588, allocations: 99.28 kB / 1.545 GB, free: 414.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/2.591, allocations: 110 kB / 1.545 GB, free: 414.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/2.592, allocations: 383.3 kB / 1.546 GB, free: 414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008879/2.593, allocations: 264.1 kB / 1.546 GB, free: 413.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004729/2.597, allocations: 2.311 MB / 1.548 GB, free: 411.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/2.597, allocations: 0 / 1.548 GB, free: 411.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01199/2.609, allocations: 3.569 MB / 1.552 GB, free: 408.4 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.02938/2.639, allocations: 16.52 MB / 1.568 GB, free: 393.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01118/2.65, allocations: 6.77 MB / 1.575 GB, free: 386.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/2.65, allocations: 4 kB / 1.575 GB, free: 386.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.006787/2.657, allocations: 3.899 MB / 1.578 GB, free: 382.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008861/2.666, allocations: 1.638 MB / 1.58 GB, free: 380.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0741/2.74, allocations: 45.57 MB / 1.624 GB, free: 335.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/2.742, allocations: 3.324 MB / 1.628 GB, free: 332.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005453/2.748, allocations: 2.893 MB / 1.631 GB, free: 329.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003329/2.751, allocations: 2.545 MB / 1.633 GB, free: 326.9 MB / 0.9825 GB Notification: Performance of SimCode: time 1.152e-06/2.751, allocations: 0 / 1.633 GB, free: 326.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/3.007, allocations: 205 MB / 1.833 GB, free: 122.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.74/31.75, allocations: 11.27 kB / 1.833 GB, free: 122.3 MB / 0.9825 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/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.66073130303994]