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.001889/0.001889, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002314/0.002314, allocations: 216 kB / 22.26 MB, free: 5.113 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.027 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.8/0.8, allocations: 100.3 MB / 412.7 MB, free: 3.676 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: translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology") [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.002601/0.002601, allocations: 100.6 kB / 0.5638 GB, free: 35.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1335, allocations: 74.46 MB / 0.6365 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.334/1.468, allocations: 0.5628 GB / 1.199 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04979/1.518, allocations: 48.81 MB / 1.247 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004576/1.522, allocations: 314.4 kB / 1.247 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/1.532, allocations: 4.122 MB / 1.251 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04757/1.58, allocations: 19.15 MB / 1.27 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01731/1.597, allocations: 6.664 MB / 1.277 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01471/1.612, allocations: 9.32 MB / 1.286 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/1.615, allocations: 1.37 MB / 1.287 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00969/1.625, allocations: 4.913 MB / 1.292 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006936/1.631, allocations: 4.015 MB / 1.296 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001522/1.633, allocations: 0.6054 MB / 1.296 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07112/1.704, allocations: 37.83 MB / 1.333 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003019/1.707, allocations: 1.947 MB / 1.335 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005305/1.712, allocations: 3.351 MB / 1.338 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0553/1.768, allocations: 23.04 MB / 1.361 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.768, allocations: 3.938 kB / 1.361 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.659e-06/1.768, allocations: 4 kB / 1.361 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001937/1.768, allocations: 0 / 1.361 GB, free: 0.6055 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.02595/1.794, allocations: 10.29 MB / 1.371 GB, free: 6.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.794, allocations: 13.47 kB / 1.371 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/1.795, allocations: 0.687 MB / 1.372 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009382/1.805, allocations: 4.331 MB / 1.376 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/1.805, allocations: 324.6 kB / 1.376 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009174/1.806, allocations: 459.8 kB / 1.377 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/1.819, allocations: 7.417 MB / 1.384 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-05/1.819, allocations: 0 / 1.384 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004537/1.82, allocations: 176 kB / 1.384 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005531/1.82, allocations: 420.7 kB / 1.384 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/1.836, allocations: 8.457 MB / 1.393 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05024/1.886, allocations: 30.95 MB / 1.423 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007418/1.894, allocations: 3.959 MB / 1.427 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005296/1.899, allocations: 3.172 MB / 1.43 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003731/1.903, allocations: 1.1 MB / 1.431 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.309e-05/1.903, allocations: 82.5 kB / 1.431 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=476): time 1.22e-05/1.903, allocations: 0 / 1.431 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=480): time 0.3395/2.242, allocations: 19.39 MB / 1.45 GB, free: 479.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/2.242, allocations: 127.4 kB / 1.45 GB, free: 479.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00507/2.247, allocations: 3.252 MB / 1.453 GB, free: 478 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0008586/2.248, allocations: 106.9 kB / 1.453 GB, free: 477.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/2.25, allocations: 2.091 MB / 1.455 GB, free: 476.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/2.251, allocations: 1.677 MB / 1.457 GB, free: 475.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/2.253, allocations: 0.7501 MB / 1.458 GB, free: 475 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 3.821e-05/2.253, allocations: 307.3 kB / 1.458 GB, free: 474.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003641/2.256, allocations: 2.555 MB / 1.461 GB, free: 473.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/2.26, allocations: 2.815 MB / 1.463 GB, free: 472.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007983/2.268, allocations: 5.789 MB / 1.469 GB, free: 469.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/2.268, allocations: 3.938 kB / 1.469 GB, free: 469.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01331/2.282, allocations: 7.369 MB / 1.476 GB, free: 466.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/2.282, allocations: 7.188 kB / 1.476 GB, free: 466.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/2.282, allocations: 3.969 kB / 1.476 GB, free: 466.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006563/2.288, allocations: 1.749 MB / 1.478 GB, free: 466.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/2.291, allocations: 0.7131 MB / 1.479 GB, free: 466.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/2.303, allocations: 12 MB / 1.49 GB, free: 457.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/2.306, allocations: 108.8 kB / 1.49 GB, free: 457.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000836/2.307, allocations: 261.5 kB / 1.491 GB, free: 457.5 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.002362/2.309, allocations: 1.278 MB / 1.492 GB, free: 456.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/2.31, allocations: 495.4 kB / 1.492 GB, free: 456.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/2.327, allocations: 11.01 MB / 1.503 GB, free: 452 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/2.327, allocations: 50.91 kB / 1.503 GB, free: 452 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/2.327, allocations: 10.19 kB / 1.503 GB, free: 452 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.929e-05/2.327, allocations: 23.91 kB / 1.503 GB, free: 452 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/2.349, allocations: 15.22 MB / 1.518 GB, free: 442.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/2.349, allocations: 0 / 1.518 GB, free: 442.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/2.352, allocations: 0.6827 MB / 1.519 GB, free: 441.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006196/2.358, allocations: 1.782 MB / 1.52 GB, free: 440 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005138/2.358, allocations: 183.2 kB / 1.521 GB, free: 439.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/2.37, allocations: 12.02 MB / 1.532 GB, free: 427.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.37, allocations: 4 kB / 1.532 GB, free: 427.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/2.386, allocations: 11.78 MB / 1.544 GB, free: 415.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/2.387, allocations: 459 kB / 1.544 GB, free: 415.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006877/2.388, allocations: 95.78 kB / 1.544 GB, free: 415.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/2.39, allocations: 119.1 kB / 1.545 GB, free: 415 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005594/2.39, allocations: 375.3 kB / 1.545 GB, free: 414.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000452/2.391, allocations: 260.2 kB / 1.545 GB, free: 414.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002478/2.393, allocations: 2.311 MB / 1.547 GB, free: 412.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/2.393, allocations: 0 / 1.547 GB, free: 412.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007359/2.401, allocations: 3.568 MB / 1.551 GB, free: 409.1 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.007093/2.408, allocations: 4.06 MB / 1.555 GB, free: 406.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009228/2.417, allocations: 6.774 MB / 1.561 GB, free: 399.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/2.417, allocations: 0 / 1.561 GB, free: 399.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005412/2.422, allocations: 3.901 MB / 1.565 GB, free: 395.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006209/2.428, allocations: 1.633 MB / 1.567 GB, free: 394.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/2.443, allocations: 11.57 MB / 1.578 GB, free: 382.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/2.445, allocations: 3.323 MB / 1.581 GB, free: 379.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005018/2.45, allocations: 2.908 MB / 1.584 GB, free: 376.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/2.452, allocations: 0.5031 MB / 1.585 GB, free: 376.2 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/2.452, allocations: 0 / 1.585 GB, free: 376.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.1734/2.625, allocations: 153.3 MB / 1.734 GB, free: 223.6 MB / 0.9825 GB " [Timeout remaining time 657] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins/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: 14.585263956338167]