Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0007766/0.0007766, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008035/0.0008035, allocations: 173.9 kB / 22.46 MB, free: 2.086 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.886/0.886, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.521/0.521, allocations: 80.18 MB / 339.4 MB, free: 7.555 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.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.45e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.378/1.378, allocations: 0.5142 GB / 1.007 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03679/1.414, allocations: 25.26 MB / 1.031 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007781/1.422, allocations: 320.6 kB / 1.032 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01281/1.435, allocations: 3.553 MB / 1.035 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.06262/1.498, allocations: 19.59 MB / 1.054 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.02267/1.52, allocations: 6.751 MB / 1.061 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.019/1.539, allocations: 10.24 MB / 1.071 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/1.543, allocations: 1.418 MB / 1.072 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02352/1.567, allocations: 6.523 MB / 1.079 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009133/1.576, allocations: 3.563 MB / 1.082 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.003234/1.579, allocations: 0.6016 MB / 1.083 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07063/1.65, allocations: 29.81 MB / 1.112 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.004787/1.655, allocations: 2.09 MB / 1.114 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.008641/1.663, allocations: 2.379 MB / 1.116 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.07077/1.734, allocations: 24.5 MB / 1.14 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.734, allocations: 2.625 kB / 1.14 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.984e-06/1.734, allocations: 0 / 1.14 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003143/1.735, allocations: 4 kB / 1.14 GB, free: 14.09 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.02683/1.761, allocations: 10.35 MB / 1.15 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.761, allocations: 9.469 kB / 1.15 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001405/1.763, allocations: 0.6143 MB / 1.151 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/1.765, allocations: 0.769 MB / 1.151 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/1.776, allocations: 4.411 MB / 1.156 GB, free: 14.14 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/1.776, allocations: 331.4 kB / 1.156 GB, free: 13.83 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/1.777, allocations: 458.5 kB / 1.157 GB, free: 13.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/1.792, allocations: 7.49 MB / 1.164 GB, free: 5.832 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.769e-05/1.792, allocations: 0 / 1.164 GB, free: 5.832 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004413/1.793, allocations: 186.3 kB / 1.164 GB, free: 5.66 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005381/1.793, allocations: 415.8 kB / 1.164 GB, free: 5.25 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/1.806, allocations: 8.438 MB / 1.173 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/1.849, allocations: 20.38 MB / 1.193 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/1.857, allocations: 3.946 MB / 1.196 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006755/1.863, allocations: 3.157 MB / 1.199 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003716/1.867, allocations: 1.08 MB / 1.201 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.146e-05/1.867, allocations: 82.56 kB / 1.201 GB, free: 424 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=476): time 1.565e-05/1.867, allocations: 0 / 1.201 GB, free: 424 kB / 0.8542 GB Notification: Performance of matching and sorting (n=480): time 0.04658/1.914, allocations: 19.44 MB / 1.22 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.914, allocations: 136.6 kB / 1.22 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/1.919, allocations: 3.374 MB / 1.223 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/1.921, allocations: 111.7 kB / 1.223 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/1.922, allocations: 2.173 MB / 1.225 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003109/1.926, allocations: 1.676 MB / 1.227 GB, free: 5.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/1.927, allocations: 0.7609 MB / 1.228 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/1.927, allocations: 301.1 kB / 1.228 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004134/1.932, allocations: 2.557 MB / 1.23 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005525/1.937, allocations: 2.88 MB / 1.233 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.947, allocations: 5.868 MB / 1.239 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/1.947, allocations: 4 kB / 1.239 GB, free: 9.082 MB / 0.9011 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01608/1.963, allocations: 7.456 MB / 1.246 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.963, allocations: 6.344 kB / 1.246 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/1.963, allocations: 4 kB / 1.246 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004684/1.968, allocations: 1.741 MB / 1.248 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/1.971, allocations: 0.7268 MB / 1.249 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.983, allocations: 11.84 MB / 1.26 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/1.987, allocations: 116.1 kB / 1.26 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.989, allocations: 271.6 kB / 1.261 GB, free: 2.672 MB / 0.9167 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 (414): * Single equations (assignments): 377 * 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), (1,5), (1,5), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00378/1.993, allocations: 1.28 MB / 1.262 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002094/1.995, allocations: 0.5046 MB / 1.262 GB, free: 0.918 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4076/2.402, allocations: 10.97 MB / 1.273 GB, free: 485.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004011/2.403, allocations: 50.69 kB / 1.273 GB, free: 485.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001044/2.403, allocations: 10.88 kB / 1.273 GB, free: 485.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001676/2.403, allocations: 25.36 kB / 1.273 GB, free: 485.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03787/2.441, allocations: 14.24 MB / 1.287 GB, free: 479.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/2.441, allocations: 1.156 kB / 1.287 GB, free: 479.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003001/2.444, allocations: 0.6672 MB / 1.288 GB, free: 479.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005029/2.449, allocations: 1.778 MB / 1.289 GB, free: 479.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001665/2.451, allocations: 179.3 kB / 1.29 GB, free: 479.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/2.463, allocations: 11.87 MB / 1.301 GB, free: 470.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/2.463, allocations: 1.312 kB / 1.301 GB, free: 470.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/2.483, allocations: 11.72 MB / 1.313 GB, free: 465.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/2.485, allocations: 457.1 kB / 1.313 GB, free: 465.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/2.487, allocations: 90.44 kB / 1.313 GB, free: 465.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/2.49, allocations: 113.7 kB / 1.313 GB, free: 465.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007931/2.491, allocations: 378.8 kB / 1.314 GB, free: 465.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004914/2.491, allocations: 258.7 kB / 1.314 GB, free: 465.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003509/2.495, allocations: 2.381 MB / 1.316 GB, free: 463.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3e-08/2.495, allocations: 0 / 1.316 GB, free: 463.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01539/2.51, allocations: 3.599 MB / 1.32 GB, free: 460.8 MB / 0.9167 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 (390): * Single equations (assignments): 353 * 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.02974/2.54, allocations: 16.57 MB / 1.336 GB, free: 445.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01254/2.553, allocations: 6.747 MB / 1.342 GB, free: 438.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/2.553, allocations: 0 / 1.342 GB, free: 438.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007132/2.56, allocations: 3.872 MB / 1.346 GB, free: 434.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/2.57, allocations: 2.294 MB / 1.349 GB, free: 432.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09085/2.661, allocations: 46.95 MB / 1.394 GB, free: 386.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/2.664, allocations: 2.858 MB / 1.397 GB, free: 383.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007419/2.672, allocations: 2.937 MB / 1.4 GB, free: 380.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004135/2.676, allocations: 2.554 MB / 1.403 GB, free: 378.1 MB / 0.9167 GB Notification: Performance of SimCode: time 5.17e-06/2.676, allocations: 0 / 1.403 GB, free: 378.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2872/2.963, allocations: 220.8 MB / 1.618 GB, free: 158.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/22.8, allocations: 4.062 kB / 1.618 GB, free: 158.2 MB / 0.9167 GB " [Timeout remaining time 637] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 26.19565381947905]