Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.00135/0.00135, allocations: 104.9 kB / 16.41 MB, free: 6.41 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.0013/0.0013, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.323/1.323, allocations: 222.9 MB / 241 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.6763/0.6763, allocations: 91.18 MB / 382.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001596, allocations: 87.88 kB / 0.5175 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3014, allocations: 67.68 MB / 0.5836 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4775/0.7789, allocations: 185.6 MB / 0.7649 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03891/0.8178, allocations: 44.86 MB / 0.8087 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003475/0.8214, allocations: 164.3 kB / 0.8089 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005571/0.827, allocations: 2.042 MB / 0.8109 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.8383, allocations: 4.048 MB / 0.8148 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01934/0.8577, allocations: 7.19 MB / 0.8218 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00665/0.8644, allocations: 4.661 MB / 0.8264 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.8663, allocations: 0.9517 MB / 0.8273 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02233/0.8886, allocations: 11.52 MB / 0.8386 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.8917, allocations: 1.766 MB / 0.8403 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.8928, allocations: 244 kB / 0.8405 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02218/0.915, allocations: 10.03 MB / 0.8503 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.9161, allocations: 0.6182 MB / 0.8509 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.9189, allocations: 1.666 MB / 0.8526 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02211/0.9411, allocations: 9.407 MB / 0.8617 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.9411, allocations: 0 / 0.8617 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9411, allocations: 0 / 0.8617 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001296/0.9413, allocations: 0 / 0.8617 GB, free: 14.58 MB / 0.6231 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.01274/0.954, allocations: 5.021 MB / 0.8666 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9541, allocations: 12.03 kB / 0.8667 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.9568, allocations: 0.6356 MB / 0.8673 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004811/0.9616, allocations: 2.238 MB / 0.8695 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.9618, allocations: 176.8 kB / 0.8696 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000552/0.9624, allocations: 239.9 kB / 0.8699 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007123/0.9695, allocations: 2.855 MB / 0.8727 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.395e-05/0.9696, allocations: 7.938 kB / 0.8727 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/0.9699, allocations: 99.94 kB / 0.8728 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.97, allocations: 63.94 kB / 0.8728 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005826/0.9758, allocations: 2.369 MB / 0.8751 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.9939, allocations: 13.84 MB / 0.8886 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005272/0.9992, allocations: 2.165 MB / 0.8908 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/1.001, allocations: 1.061 MB / 0.8918 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09789/1.099, allocations: 47.82 MB / 0.9385 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/1.099, allocations: 58.5 kB / 0.9385 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=208): time 4.529e-06/1.099, allocations: 0 / 0.9385 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208): time 0.01168/1.111, allocations: 4.384 MB / 0.9428 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.111, allocations: 215.7 kB / 0.943 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/1.114, allocations: 2.05 MB / 0.945 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/1.114, allocations: 57.7 kB / 0.9451 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009362/1.115, allocations: 1.28 MB / 0.9463 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/1.116, allocations: 0.7096 MB / 0.947 GB, free: 204 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005625/1.116, allocations: 339.5 kB / 0.9474 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/1.116, allocations: 305.1 kB / 0.9477 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.118, allocations: 0.6559 MB / 0.9483 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/1.119, allocations: 0.9387 MB / 0.9492 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/1.122, allocations: 1.738 MB / 0.9509 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/1.122, allocations: 4 kB / 0.9509 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004549/1.127, allocations: 2.375 MB / 0.9532 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.127, allocations: 12.12 kB / 0.9532 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.127, allocations: 4 kB / 0.9532 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008401/1.128, allocations: 300.9 kB / 0.9535 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.129, allocations: 391.4 kB / 0.9539 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007439/1.137, allocations: 9.628 MB / 0.9633 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.138, allocations: 186 kB / 0.9635 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/1.138, allocations: 83.97 kB / 0.9636 GB, free: 14.2 MB / 0.7325 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.00105/1.139, allocations: 453.4 kB / 0.964 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007215/1.14, allocations: 288.3 kB / 0.9643 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008139/1.148, allocations: 6.472 MB / 0.9706 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.059e-05/1.148, allocations: 71.91 kB / 0.9707 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-05/1.148, allocations: 4 kB / 0.9707 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/1.148, allocations: 15.95 kB / 0.9707 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.161, allocations: 10.21 MB / 0.9806 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.161, allocations: 4 kB / 0.9807 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.162, allocations: 339.5 kB / 0.981 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008347/1.163, allocations: 304.9 kB / 0.9813 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/1.164, allocations: 67.95 kB / 0.9813 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007213/1.171, allocations: 9.634 MB / 0.9907 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.171, allocations: 7.938 kB / 0.9907 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008246/1.179, allocations: 5.77 MB / 0.9964 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008209/1.18, allocations: 475.3 kB / 0.9968 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/1.18, allocations: 87.41 kB / 0.9969 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.182, allocations: 63.97 kB / 0.997 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/1.182, allocations: 175.6 kB / 0.9971 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.182, allocations: 71.97 kB / 0.9972 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002326/1.185, allocations: 1.646 MB / 0.9988 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.185, allocations: 0 / 0.9988 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004572/1.189, allocations: 1.783 MB / 1.001 GB, free: 7.293 MB / 0.7637 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.005126/1.194, allocations: 1.787 MB / 1.002 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00498/1.199, allocations: 3.113 MB / 1.005 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.199, allocations: 0 / 1.005 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003323/1.203, allocations: 2.496 MB / 1.008 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004688/1.207, allocations: 0.9526 MB / 1.009 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.221, allocations: 7.307 MB / 1.016 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.223, allocations: 2.115 MB / 1.018 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009072/1.223, allocations: 239.4 kB / 1.018 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/1.224, allocations: 0 / 1.018 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.3776/1.601, allocations: 151.7 MB / 1.166 GB, free: 202.4 MB / 0.7794 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches