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.001789/0.001789, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 195.5 kB / 16.54 MB, free: 6.672 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7695/0.7695, allocations: 93.72 MB / 384.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 73.94 kB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1455, allocations: 68.27 MB / 0.5193 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.364/1.51, allocations: 0.5572 GB / 1.076 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6627/2.173, allocations: 48.31 MB / 1.124 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006702/2.179, allocations: 224.4 kB / 1.124 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01231/2.192, allocations: 3.943 MB / 1.128 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.06246/2.254, allocations: 18.84 MB / 1.146 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01941/2.274, allocations: 6.411 MB / 1.152 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01685/2.291, allocations: 9.237 MB / 1.161 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004979/2.296, allocations: 2.734 MB / 1.164 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01281/2.308, allocations: 4.558 MB / 1.169 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009563/2.318, allocations: 3.848 MB / 1.172 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002326/2.32, allocations: 0.6006 MB / 1.173 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08569/2.406, allocations: 36 MB / 1.208 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.005329/2.412, allocations: 1.936 MB / 1.21 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.01081/2.422, allocations: 3.337 MB / 1.213 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.07807/2.501, allocations: 22.67 MB / 1.235 GB, free: 3.68 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/2.501, allocations: 0 / 1.235 GB, free: 3.68 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.793e-06/2.501, allocations: 0 / 1.235 GB, free: 3.68 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001117/2.501, allocations: 0 / 1.235 GB, free: 3.68 MB / 0.795 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.02657/2.527, allocations: 10.01 MB / 1.245 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/2.527, allocations: 12.03 kB / 1.245 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008082/2.528, allocations: 0.605 MB / 1.246 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/2.53, allocations: 0.6529 MB / 1.246 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007311/2.537, allocations: 4.052 MB / 1.25 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/2.537, allocations: 325.8 kB / 1.251 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007011/2.538, allocations: 445.7 kB / 1.251 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/2.55, allocations: 7.334 MB / 1.258 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.746e-05/2.551, allocations: 1.312 kB / 1.258 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/2.551, allocations: 185.5 kB / 1.258 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005922/2.552, allocations: 408.8 kB / 1.259 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/2.565, allocations: 8.304 MB / 1.267 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05238/2.617, allocations: 31.11 MB / 1.297 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008526/2.626, allocations: 4.361 MB / 1.302 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005865/2.632, allocations: 3.53 MB / 1.305 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008207/2.64, allocations: 8.107 MB / 1.313 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.944e-05/2.64, allocations: 78.56 kB / 1.313 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=476): time 9.678e-06/2.64, allocations: 0 / 1.313 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of matching and sorting (n=480): time 0.04856/2.689, allocations: 20.44 MB / 1.333 GB, free: 452 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/2.689, allocations: 125.1 kB / 1.333 GB, free: 308 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006844/2.696, allocations: 3.261 MB / 1.336 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0009754/2.697, allocations: 101.6 kB / 1.336 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002219/2.699, allocations: 2.067 MB / 1.338 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.002356/2.701, allocations: 1.601 MB / 1.34 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002407/2.704, allocations: 0.7447 MB / 1.341 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001521/2.704, allocations: 301.1 kB / 1.341 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00492/2.709, allocations: 2.553 MB / 1.343 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005417/2.714, allocations: 2.819 MB / 1.346 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/2.725, allocations: 5.791 MB / 1.352 GB, free: 13.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/2.725, allocations: 0 / 1.352 GB, free: 13.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01571/2.741, allocations: 7.384 MB / 1.359 GB, free: 5.668 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/2.741, allocations: 7.938 kB / 1.359 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/2.741, allocations: 3.984 kB / 1.359 GB, free: 5.656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007431/2.748, allocations: 1.757 MB / 1.361 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00311/2.751, allocations: 0.7167 MB / 1.361 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/2.769, allocations: 12.19 MB / 1.373 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/2.773, allocations: 117.5 kB / 1.373 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/2.775, allocations: 261.8 kB / 1.374 GB, free: 6.277 MB / 0.9356 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.004302/2.779, allocations: 1.286 MB / 1.375 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002743/2.782, allocations: 466.1 kB / 1.375 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02546/2.807, allocations: 11.05 MB / 1.386 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001515/2.807, allocations: 51.94 kB / 1.386 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.563e-05/2.807, allocations: 12 kB / 1.386 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-05/2.808, allocations: 23.91 kB / 1.386 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03315/2.841, allocations: 15.33 MB / 1.401 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/2.841, allocations: 0 / 1.401 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/2.844, allocations: 0.6878 MB / 1.402 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00741/2.851, allocations: 1.791 MB / 1.404 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005468/2.852, allocations: 181.1 kB / 1.404 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/2.868, allocations: 12.23 MB / 1.416 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.868, allocations: 4 kB / 1.416 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02422/2.893, allocations: 11.79 MB / 1.427 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/2.894, allocations: 499.1 kB / 1.428 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001466/2.896, allocations: 91.83 kB / 1.428 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/2.899, allocations: 108.6 kB / 1.428 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009318/2.9, allocations: 371.4 kB / 1.428 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007997/2.9, allocations: 256.9 kB / 1.429 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004803/2.905, allocations: 2.311 MB / 1.431 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/2.905, allocations: 0 / 1.431 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01389/2.919, allocations: 3.527 MB / 1.434 GB, free: 8.094 MB / 0.9981 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.03831/2.958, allocations: 16.47 MB / 1.45 GB, free: 7.969 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02897/2.987, allocations: 9.693 MB / 1.46 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/2.987, allocations: 0 / 1.46 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/2.997, allocations: 4.206 MB / 1.464 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01065/3.008, allocations: 1.641 MB / 1.466 GB, free: 8.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4348/3.442, allocations: 56.59 MB / 1.521 GB, free: 0.5628 GB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/3.445, allocations: 3.327 MB / 1.524 GB, free: 0.5617 GB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.006565/3.452, allocations: 2.893 MB / 1.527 GB, free: 0.5616 GB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003059/3.455, allocations: 2.543 MB / 1.529 GB, free: 0.5597 GB / 1.029 GB Notification: Performance of SimCode: time 1.172e-06/3.455, allocations: 0 / 1.529 GB, free: 0.5597 GB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2943/3.749, allocations: 200.4 MB / 1.725 GB, free: 396.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.99/25.74, allocations: 7.812 kB / 1.725 GB, free: 396.2 MB / 1.029 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