Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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: translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001936/0.001936, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.478/1.478, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7933/0.7933, allocations: 93.69 MB / 384.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 79.88 kB / 463.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1496, allocations: 68.27 MB / 0.5193 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4102/0.5599, allocations: 186.2 MB / 0.7012 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3826/0.9425, allocations: 45.09 MB / 0.7453 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004293/0.9469, allocations: 191.3 kB / 0.7454 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006601/0.9535, allocations: 1.83 MB / 0.7472 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.9664, allocations: 3.777 MB / 0.7509 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02035/0.9868, allocations: 6.453 MB / 0.7572 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008542/0.9954, allocations: 4.811 MB / 0.7619 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.9976, allocations: 0.9523 MB / 0.7628 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02521/1.023, allocations: 11.54 MB / 0.7741 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/1.027, allocations: 1.794 MB / 0.7759 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/1.028, allocations: 241.9 kB / 0.7761 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02503/1.053, allocations: 9.944 MB / 0.7858 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.055, allocations: 0.615 MB / 0.7864 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003609/1.058, allocations: 1.692 MB / 0.7881 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01559/1.074, allocations: 6.619 MB / 0.7945 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/1.074, allocations: 0 / 0.7945 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.066e-06/1.074, allocations: 0 / 0.7945 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002022/1.074, allocations: 0 / 0.7945 GB, free: 11.51 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.01801/1.092, allocations: 5.078 MB / 0.7995 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.092, allocations: 9.25 kB / 0.7995 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/1.095, allocations: 0.6383 MB / 0.8001 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/1.099, allocations: 2.048 MB / 0.8021 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/1.099, allocations: 182.9 kB / 0.8023 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/1.1, allocations: 240.3 kB / 0.8025 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006315/1.106, allocations: 2.86 MB / 0.8053 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/1.106, allocations: 5.812 kB / 0.8053 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/1.106, allocations: 97.34 kB / 0.8054 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/1.106, allocations: 60.41 kB / 0.8055 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00541/1.112, allocations: 2.375 MB / 0.8078 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/1.13, allocations: 13.91 MB / 0.8214 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/1.135, allocations: 2.161 MB / 0.8235 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/1.137, allocations: 1.065 MB / 0.8245 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09653/1.234, allocations: 47.61 MB / 0.871 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.131e-05/1.234, allocations: 59.62 kB / 0.8711 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=208): time 4.288e-06/1.234, allocations: 0 / 0.8711 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of matching and sorting (n=208): time 0.01183/1.246, allocations: 4.397 MB / 0.8754 GB, free: 15.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.246, allocations: 214.7 kB / 0.8756 GB, free: 15.07 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/1.249, allocations: 2.102 MB / 0.8776 GB, free: 13.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/1.249, allocations: 61.08 kB / 0.8777 GB, free: 13.45 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009999/1.25, allocations: 1.31 MB / 0.879 GB, free: 12.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007423/1.251, allocations: 0.7019 MB / 0.8796 GB, free: 12.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005705/1.252, allocations: 339.5 kB / 0.88 GB, free: 11.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.252, allocations: 305.1 kB / 0.8803 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/1.253, allocations: 0.6534 MB / 0.8809 GB, free: 11.29 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/1.255, allocations: 0.9452 MB / 0.8818 GB, free: 10.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/1.258, allocations: 1.736 MB / 0.8835 GB, free: 9.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/1.258, allocations: 7.938 kB / 0.8835 GB, free: 9.402 MB / 0.67 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005073/1.263, allocations: 2.382 MB / 0.8858 GB, free: 7.723 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/1.263, allocations: 8.812 kB / 0.8859 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.263, allocations: 8 kB / 0.8859 GB, free: 7.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009389/1.264, allocations: 301.3 kB / 0.8862 GB, free: 7.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.265, allocations: 398.2 kB / 0.8865 GB, free: 7.117 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/1.274, allocations: 9.623 MB / 0.8959 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/1.277, allocations: 229.5 kB / 0.8961 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/1.277, allocations: 80.47 kB / 0.8962 GB, free: 13.44 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,source5.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,source4.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,source3.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,source2.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,source1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001251/1.278, allocations: 449.2 kB / 0.8967 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008443/1.279, allocations: 299.9 kB / 0.8969 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009277/1.288, allocations: 6.497 MB / 0.9033 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/1.289, allocations: 71.91 kB / 0.9034 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/1.289, allocations: 7.984 kB / 0.9034 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.289, allocations: 11.97 kB / 0.9034 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/1.305, allocations: 10.24 MB / 0.9134 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.305, allocations: 4 kB / 0.9134 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.306, allocations: 333.3 kB / 0.9137 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009355/1.307, allocations: 314.6 kB / 0.914 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.307, allocations: 71.75 kB / 0.9141 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008786/1.316, allocations: 9.63 MB / 0.9235 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/1.316, allocations: 4 kB / 0.9235 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009551/1.326, allocations: 5.771 MB / 0.9291 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.327, allocations: 487.2 kB / 0.9296 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004489/1.327, allocations: 83.38 kB / 0.9296 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/1.329, allocations: 127.5 kB / 0.9298 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004021/1.329, allocations: 170.3 kB / 0.9299 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.33, allocations: 71.97 kB / 0.93 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002574/1.332, allocations: 1.688 MB / 0.9316 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/1.332, allocations: 0 / 0.9316 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007491/1.34, allocations: 1.783 MB / 0.9334 GB, free: 8.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (flowResistance5.inlet.m_flow,flowResistance4.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance1.inlet.m_flow,flowResistance.inlet.m_flow) * Number of discrete variables: 36 ($cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007356/1.347, allocations: 1.797 MB / 0.9351 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007157/1.354, allocations: 3.192 MB / 0.9383 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.354, allocations: 4 kB / 0.9383 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/1.358, allocations: 2.503 MB / 0.9407 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005277/1.363, allocations: 0.9561 MB / 0.9416 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/1.38, allocations: 9.045 MB / 0.9505 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/1.382, allocations: 2.135 MB / 0.9526 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.383, allocations: 247.4 kB / 0.9528 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of SimCode: time 3.557e-06/1.383, allocations: 0 / 0.9528 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of Templates: time 0.4381/1.821, allocations: 153.1 MB / 1.102 GB, free: 304 MB / 0.7794 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches