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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007702/0.007702, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 193.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7247/0.7247, allocations: 93.7 MB / 384.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 79.88 kB / 0.52 GB, free: 1.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3135, allocations: 68.25 MB / 0.5866 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.272/1.586, allocations: 0.5572 GB / 1.144 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.04476/1.631, allocations: 48.33 MB / 1.191 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005379/1.636, allocations: 223.9 kB / 1.191 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01004/1.646, allocations: 3.948 MB / 1.195 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.04982/1.696, allocations: 18.84 MB / 1.213 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01803/1.714, allocations: 6.419 MB / 1.22 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01378/1.728, allocations: 9.246 MB / 1.229 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0053/1.733, allocations: 2.731 MB / 1.231 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008835/1.742, allocations: 4.563 MB / 1.236 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006676/1.749, allocations: 3.848 MB / 1.24 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002404/1.751, allocations: 0.6016 MB / 1.24 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0688/1.82, allocations: 36.04 MB / 1.275 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002989/1.823, allocations: 1.93 MB / 1.277 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005471/1.829, allocations: 3.346 MB / 1.281 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.05648/1.885, allocations: 23.01 MB / 1.303 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/1.885, allocations: 8 kB / 1.303 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.522e-06/1.885, allocations: 0 / 1.303 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002164/1.885, allocations: 0 / 1.303 GB, free: 7.16 MB / 0.8731 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.02396/1.909, allocations: 10.36 MB / 1.313 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.909, allocations: 8.031 kB / 1.313 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000864/1.91, allocations: 0.6012 MB / 1.314 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/1.912, allocations: 0.6832 MB / 1.314 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007869/1.92, allocations: 4.463 MB / 1.319 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/1.92, allocations: 332.6 kB / 1.319 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007016/1.921, allocations: 449 kB / 1.32 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/1.933, allocations: 7.335 MB / 1.327 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.642e-05/1.933, allocations: 0 / 1.327 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/1.933, allocations: 181.5 kB / 1.327 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005333/1.934, allocations: 412.8 kB / 1.327 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/1.946, allocations: 8.306 MB / 1.335 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04314/1.99, allocations: 30.94 MB / 1.366 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/1.997, allocations: 4.353 MB / 1.37 GB, free: 408 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005189/2.002, allocations: 3.529 MB / 1.373 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006965/2.009, allocations: 8.103 MB / 1.381 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/2.009, allocations: 86.44 kB / 1.381 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=476): time 8.846e-06/2.009, allocations: 0 / 1.381 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=480): time 0.2984/2.308, allocations: 20.58 MB / 1.401 GB, free: 475.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/2.308, allocations: 130.5 kB / 1.401 GB, free: 475.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/2.311, allocations: 3.244 MB / 1.405 GB, free: 474.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003957/2.311, allocations: 101.4 kB / 1.405 GB, free: 474.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/2.312, allocations: 2.095 MB / 1.407 GB, free: 473.1 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/2.314, allocations: 1.682 MB / 1.408 GB, free: 471.9 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/2.315, allocations: 0.7439 MB / 1.409 GB, free: 471.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/2.315, allocations: 312.1 kB / 1.409 GB, free: 471.4 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/2.318, allocations: 2.554 MB / 1.412 GB, free: 470.3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003492/2.321, allocations: 2.816 MB / 1.415 GB, free: 469.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007018/2.328, allocations: 5.799 MB / 1.42 GB, free: 466.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/2.328, allocations: 0 / 1.42 GB, free: 466.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01038/2.339, allocations: 7.406 MB / 1.428 GB, free: 463.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/2.339, allocations: 3.969 kB / 1.428 GB, free: 463.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/2.339, allocations: 0 / 1.428 GB, free: 463.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006202/2.345, allocations: 1.75 MB / 1.429 GB, free: 463 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/2.348, allocations: 0.7075 MB / 1.43 GB, free: 462.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/2.359, allocations: 12.22 MB / 1.442 GB, free: 454 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/2.362, allocations: 112.2 kB / 1.442 GB, free: 453.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007618/2.363, allocations: 259.4 kB / 1.442 GB, free: 453.9 MB / 0.9512 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.002656/2.366, allocations: 1.283 MB / 1.444 GB, free: 453.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/2.367, allocations: 494.4 kB / 1.444 GB, free: 452.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/2.382, allocations: 11.04 MB / 1.455 GB, free: 445.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.985e-05/2.382, allocations: 48 kB / 1.455 GB, free: 445.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/2.382, allocations: 8 kB / 1.455 GB, free: 445.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-05/2.382, allocations: 27.91 kB / 1.455 GB, free: 445.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/2.402, allocations: 15.27 MB / 1.47 GB, free: 430.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/2.402, allocations: 7.938 kB / 1.47 GB, free: 430.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/2.405, allocations: 0.6866 MB / 1.47 GB, free: 429.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006121/2.411, allocations: 1.785 MB / 1.472 GB, free: 428 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004583/2.411, allocations: 179.4 kB / 1.472 GB, free: 427.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/2.422, allocations: 12.23 MB / 1.484 GB, free: 415.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/2.422, allocations: 0 / 1.484 GB, free: 415.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/2.438, allocations: 11.83 MB / 1.496 GB, free: 403.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/2.439, allocations: 0.5161 MB / 1.496 GB, free: 402.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007513/2.44, allocations: 91.45 kB / 1.496 GB, free: 402.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/2.442, allocations: 115.5 kB / 1.497 GB, free: 402.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006659/2.442, allocations: 363.2 kB / 1.497 GB, free: 402.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004924/2.443, allocations: 263.6 kB / 1.497 GB, free: 402.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002504/2.445, allocations: 2.311 MB / 1.499 GB, free: 399.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/2.446, allocations: 0 / 1.499 GB, free: 399.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007857/2.453, allocations: 3.565 MB / 1.503 GB, free: 396.7 MB / 0.9512 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.02366/2.477, allocations: 16.56 MB / 1.519 GB, free: 381.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01059/2.488, allocations: 7.125 MB / 1.526 GB, free: 374.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/2.488, allocations: 4 kB / 1.526 GB, free: 374.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005901/2.494, allocations: 4.209 MB / 1.53 GB, free: 370 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006518/2.5, allocations: 1.627 MB / 1.532 GB, free: 368.4 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05615/2.556, allocations: 45.62 MB / 1.576 GB, free: 322.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/2.559, allocations: 3.327 MB / 1.58 GB, free: 319.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004998/2.564, allocations: 2.893 MB / 1.582 GB, free: 316.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002661/2.567, allocations: 2.538 MB / 1.585 GB, free: 314.2 MB / 0.9512 GB Notification: Performance of SimCode: time 6.81e-07/2.567, allocations: 0 / 1.585 GB, free: 314.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2416/2.808, allocations: 200 MB / 1.78 GB, free: 114.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.57/29.38, allocations: 8 kB / 1.78 GB, free: 114.7 MB / 0.9512 GB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) 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) Reference file matches