Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001149, allocations: 198.5 kB / 16.14 MB, free: 6.645 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7392/0.7392, allocations: 91.2 MB / 381.2 MB, free: 9.594 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 76.81 kB / 459.6 MB, free: 23.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1484, allocations: 67.69 MB / 0.515 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.5228/0.6712, allocations: 163 MB / 0.6742 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.6868, allocations: 13.08 MB / 0.6869 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.6887, allocations: 47.03 kB / 0.687 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.6907, allocations: 0.5175 MB / 0.6875 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003199/0.6939, allocations: 0.7914 MB / 0.6882 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.6965, allocations: 0.6948 MB / 0.6889 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.6986, allocations: 1.508 MB / 0.6904 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.6992, allocations: 284.7 kB / 0.6907 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.7003, allocations: 0.5023 MB / 0.6912 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.7013, allocations: 0.6671 MB / 0.6918 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.7015, allocations: 52.66 kB / 0.6919 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003643/0.7052, allocations: 1.371 MB / 0.6932 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.7056, allocations: 172.7 kB / 0.6934 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.7067, allocations: 497.1 kB / 0.6938 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.7109, allocations: 1.474 MB / 0.6953 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7109, allocations: 0 / 0.6953 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.711, allocations: 0 / 0.6953 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.106e-05/0.711, allocations: 4 kB / 0.6953 GB, free: 7.648 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003455/0.7145, allocations: 1.421 MB / 0.6967 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.7145, allocations: 8.031 kB / 0.6967 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.7149, allocations: 127.5 kB / 0.6968 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.7163, allocations: 0.7141 MB / 0.6975 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.7164, allocations: 50 kB / 0.6975 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.7165, allocations: 71.91 kB / 0.6976 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.7179, allocations: 0.7352 MB / 0.6983 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.7179, allocations: 0 / 0.6983 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.718, allocations: 28 kB / 0.6984 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.718, allocations: 24 kB / 0.6984 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.7193, allocations: 0.6286 MB / 0.699 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.7236, allocations: 3.112 MB / 0.702 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.725, allocations: 0.5753 MB / 0.7026 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.7254, allocations: 256 kB / 0.7028 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002709/0.7281, allocations: 2.588 MB / 0.7054 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7282, allocations: 39.12 kB / 0.7054 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 2.234e-06/0.7282, allocations: 7.875 kB / 0.7054 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56): time 0.003877/0.7321, allocations: 1.773 MB / 0.7071 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.7321, allocations: 55.97 kB / 0.7072 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.7331, allocations: 0.6965 MB / 0.7079 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.7332, allocations: 37.7 kB / 0.7079 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.7335, allocations: 432.3 kB / 0.7083 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.7336, allocations: 185.2 kB / 0.7085 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.7338, allocations: 94.23 kB / 0.7086 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7339, allocations: 330 kB / 0.7089 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.7342, allocations: 157.1 kB / 0.7091 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.7346, allocations: 235.2 kB / 0.7093 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.7354, allocations: 427.8 kB / 0.7097 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7354, allocations: 0 / 0.7097 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001263/0.7367, allocations: 0.6507 MB / 0.7103 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7367, allocations: 6.656 kB / 0.7103 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7367, allocations: 4.156 kB / 0.7103 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/0.7371, allocations: 113.4 kB / 0.7104 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.7375, allocations: 95.88 kB / 0.7105 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.7396, allocations: 1.907 MB / 0.7124 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.7401, allocations: 39.84 kB / 0.7124 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.7402, allocations: 32.16 kB / 0.7125 GB, free: 4.871 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.7406, allocations: 209.7 kB / 0.7127 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.7407, allocations: 78.97 kB / 0.7127 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.7424, allocations: 0.8762 MB / 0.7136 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.7425, allocations: 4 kB / 0.7136 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.7425, allocations: 8 kB / 0.7136 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7425, allocations: 3.984 kB / 0.7136 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.7451, allocations: 1.535 MB / 0.7151 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7451, allocations: 0 / 0.7151 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.7455, allocations: 95.92 kB / 0.7152 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.7459, allocations: 116.6 kB / 0.7153 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.746, allocations: 16 kB / 0.7153 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.7481, allocations: 1.895 MB / 0.7172 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7482, allocations: 0 / 0.7172 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.75, allocations: 0.9794 MB / 0.7181 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.7503, allocations: 155.9 kB / 0.7183 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.7504, allocations: 15.94 kB / 0.7183 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.7509, allocations: 40.03 kB / 0.7183 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.751, allocations: 48.48 kB / 0.7184 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.751, allocations: 19.94 kB / 0.7184 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006904/0.7517, allocations: 0.5029 MB / 0.7189 GB, free: 14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7517, allocations: 4 kB / 0.7189 GB, free: 14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001042/0.7528, allocations: 335.8 kB / 0.7192 GB, free: 13.67 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000843/0.7537, allocations: 472.1 kB / 0.7197 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.7551, allocations: 0.6193 MB / 0.7203 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7551, allocations: 0 / 0.7203 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008239/0.7559, allocations: 437.9 kB / 0.7207 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.7575, allocations: 257.3 kB / 0.7209 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.7608, allocations: 1.93 MB / 0.7228 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.7615, allocations: 1.001 MB / 0.7238 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006012/0.7621, allocations: 149.7 kB / 0.7239 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.7623, allocations: 71.42 kB / 0.724 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/0.7623, allocations: 0 / 0.724 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.02827/0.7906, allocations: 15.96 MB / 0.7396 GB, free: 8.789 MB / 0.545 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches