Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9767/0.9767, allocations: 116.1 MB / 375.2 MB, free: 7.543 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.591e-06/5.591e-06, allocations: 4 kB / 0.5537 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.378e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.5466/0.5467, allocations: 144.9 MB / 0.6952 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.5606, allocations: 10.3 MB / 0.7053 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.5619, allocations: 62.16 kB / 0.7053 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.5638, allocations: 0.5348 MB / 0.7058 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.5671, allocations: 0.9827 MB / 0.7068 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.5701, allocations: 0.8435 MB / 0.7076 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.5731, allocations: 1.569 MB / 0.7092 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.5737, allocations: 205.2 kB / 0.7093 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.5755, allocations: 0.8548 MB / 0.7102 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008715/0.5763, allocations: 0.5658 MB / 0.7107 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.5765, allocations: 78.86 kB / 0.7108 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.5795, allocations: 1.228 MB / 0.712 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.5796, allocations: 202.5 kB / 0.7122 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.5801, allocations: 363 kB / 0.7125 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.5833, allocations: 1.67 MB / 0.7142 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5833, allocations: 2.531 kB / 0.7142 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5833, allocations: 0.8438 kB / 0.7142 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.5833, allocations: 0 / 0.7142 GB, free: 5.316 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002512/0.5858, allocations: 1.45 MB / 0.7156 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5859, allocations: 11.28 kB / 0.7156 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.5861, allocations: 140.6 kB / 0.7157 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5874, allocations: 0.7575 MB / 0.7165 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.5874, allocations: 62.09 kB / 0.7165 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5875, allocations: 75.67 kB / 0.7166 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.5886, allocations: 0.7674 MB / 0.7174 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5887, allocations: 3.094 kB / 0.7174 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.5887, allocations: 27.34 kB / 0.7174 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.5887, allocations: 17.03 kB / 0.7174 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009665/0.5897, allocations: 0.6503 MB / 0.718 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.5924, allocations: 2.006 MB / 0.72 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.5935, allocations: 0.5108 MB / 0.7205 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.5939, allocations: 219.9 kB / 0.7207 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.5954, allocations: 0.8755 MB / 0.7216 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.5954, allocations: 37.47 kB / 0.7216 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.873e-06/0.5954, allocations: 1 kB / 0.7216 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003103/0.5985, allocations: 1.552 MB / 0.7231 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.5986, allocations: 61.19 kB / 0.7232 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009089/0.5995, allocations: 0.7137 MB / 0.7239 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.5995, allocations: 35.8 kB / 0.7239 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.5999, allocations: 491.8 kB / 0.7244 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.6, allocations: 198.2 kB / 0.7246 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.6002, allocations: 99.08 kB / 0.7247 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6003, allocations: 321.9 kB / 0.725 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.6006, allocations: 162.5 kB / 0.7251 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.601, allocations: 246.2 kB / 0.7254 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.6017, allocations: 448.5 kB / 0.7258 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6017, allocations: 0 / 0.7258 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001192/0.6029, allocations: 0.6638 MB / 0.7264 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6029, allocations: 6.188 kB / 0.7264 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6029, allocations: 3.312 kB / 0.7264 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.6033, allocations: 119.1 kB / 0.7266 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.6037, allocations: 103.8 kB / 0.7267 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.6055, allocations: 1.896 MB / 0.7285 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.6058, allocations: 21.25 kB / 0.7285 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.6059, allocations: 23.27 kB / 0.7286 GB, free: 264 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 53 * 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.0003554/0.6062, allocations: 218.1 kB / 0.7288 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.6064, allocations: 101.5 kB / 0.7289 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.608, allocations: 0.8644 MB / 0.7297 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.608, allocations: 7.812 kB / 0.7297 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.608, allocations: 0.9062 kB / 0.7297 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.608, allocations: 2.625 kB / 0.7297 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.6102, allocations: 1.322 MB / 0.731 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6102, allocations: 0 / 0.731 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.6105, allocations: 92.77 kB / 0.7311 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.6109, allocations: 120 kB / 0.7312 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.6109, allocations: 23.03 kB / 0.7312 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.6132, allocations: 1.891 MB / 0.7331 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6132, allocations: 3.125 kB / 0.7331 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.6149, allocations: 0.9637 MB / 0.734 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.6152, allocations: 139.9 kB / 0.7341 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.6153, allocations: 14.97 kB / 0.7342 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.6156, allocations: 15.52 kB / 0.7342 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.6157, allocations: 47.16 kB / 0.7342 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.6158, allocations: 21.67 kB / 0.7342 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006009/0.6164, allocations: 0.5066 MB / 0.7347 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6164, allocations: 3.094 kB / 0.7347 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00106/0.6174, allocations: 351.8 kB / 0.7351 GB, free: 13.99 MB / 0.6075 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.0008571/0.6183, allocations: 0.4886 MB / 0.7356 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.6195, allocations: 0.591 MB / 0.7361 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6195, allocations: 0 / 0.7361 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.6202, allocations: 405.7 kB / 0.7365 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6217, allocations: 333.8 kB / 0.7368 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.6251, allocations: 1.692 MB / 0.7385 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.6255, allocations: 432.5 kB / 0.7389 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005221/0.626, allocations: 156.5 kB / 0.7391 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.6262, allocations: 77.28 kB / 0.7391 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of SimCode: time 7.82e-07/0.6262, allocations: 0 / 0.7391 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.03169/0.6579, allocations: 18.27 MB / 0.757 GB, free: 7.812 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.899444617331028]