Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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.001372/0.001372, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.00155/0.00155, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.449/1.449, allocations: 177.2 MB / 203.1 MB, free: 5.617 MB / 186.7 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 1.024/1.024, allocations: 118.6 MB / 378.2 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 482.9 MB, free: 8.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.988e-05, allocations: 6.25 kB / 482.9 MB, free: 8.344 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1961/0.1961, allocations: 141.9 MB / 0.6102 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.2132, allocations: 11.06 MB / 0.621 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009017/0.2141, allocations: 55.5 kB / 0.621 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.2158, allocations: 0.6407 MB / 0.6216 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.2192, allocations: 1.331 MB / 0.6229 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.222, allocations: 0.9688 MB / 0.6239 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00273/0.2247, allocations: 2.202 MB / 0.626 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.2252, allocations: 215.8 kB / 0.6262 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.2272, allocations: 1.263 MB / 0.6275 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.2288, allocations: 1.017 MB / 0.6285 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.229, allocations: 128 kB / 0.6286 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.2321, allocations: 1.341 MB / 0.6299 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004538/0.2325, allocations: 422.5 kB / 0.6303 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008418/0.2334, allocations: 0.53 MB / 0.6308 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.2371, allocations: 2.387 MB / 0.6331 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2371, allocations: 0 / 0.6331 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2371, allocations: 0 / 0.6331 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.2371, allocations: 3.938 kB / 0.6332 GB, free: 11 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.004901/0.242, allocations: 2.068 MB / 0.6352 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.242, allocations: 8.031 kB / 0.6352 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.2427, allocations: 263.8 kB / 0.6354 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.2447, allocations: 1.027 MB / 0.6364 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.2448, allocations: 137.6 kB / 0.6366 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.2451, allocations: 99.95 kB / 0.6367 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.248, allocations: 1.565 MB / 0.6382 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.248, allocations: 0 / 0.6382 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.2481, allocations: 36 kB / 0.6382 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/0.2482, allocations: 45.98 kB / 0.6383 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/0.252, allocations: 2.072 MB / 0.6403 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1919/0.4439, allocations: 4.041 MB / 0.6442 GB, free: 169.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.4458, allocations: 1.088 MB / 0.6453 GB, free: 169.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.4469, allocations: 0.7333 MB / 0.646 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003487/0.4504, allocations: 1.57 MB / 0.6475 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.4505, allocations: 44.88 kB / 0.6476 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=120): time 2.905e-06/0.4505, allocations: 0 / 0.6476 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=122): time 0.008311/0.4588, allocations: 4.398 MB / 0.6519 GB, free: 167 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4588, allocations: 65.59 kB / 0.6519 GB, free: 167 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.4597, allocations: 0.8687 MB / 0.6528 GB, free: 166.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-05/0.4597, allocations: 47.14 kB / 0.6528 GB, free: 166.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.46, allocations: 0.5015 MB / 0.6533 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.4602, allocations: 443 kB / 0.6538 GB, free: 165.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.4605, allocations: 249.2 kB / 0.654 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.4606, allocations: 352.5 kB / 0.6543 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/0.4614, allocations: 0.5658 MB / 0.6549 GB, free: 165.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009423/0.4624, allocations: 0.8741 MB / 0.6557 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.4642, allocations: 1.336 MB / 0.657 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4642, allocations: 2.625 kB / 0.657 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00306/0.4673, allocations: 1.895 MB / 0.6589 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4673, allocations: 5.312 kB / 0.6589 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4673, allocations: 4.781 kB / 0.6589 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009659/0.4683, allocations: 367 kB / 0.6592 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4693, allocations: 239.9 kB / 0.6595 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004444/0.4737, allocations: 3.717 MB / 0.6631 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008871/0.4746, allocations: 45.19 kB / 0.6632 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.4748, allocations: 61.61 kB / 0.6632 GB, free: 160.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005418/0.4753, allocations: 336.5 kB / 0.6635 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/0.4757, allocations: 184.5 kB / 0.6637 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.4796, allocations: 2.624 MB / 0.6663 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.4796, allocations: 12.19 kB / 0.6663 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4796, allocations: 5.094 kB / 0.6663 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.4796, allocations: 6.375 kB / 0.6663 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/0.4839, allocations: 2.717 MB / 0.6689 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4839, allocations: 2.906 kB / 0.6689 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00087/0.4848, allocations: 177.7 kB / 0.6691 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.4858, allocations: 411.4 kB / 0.6695 GB, free: 158 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.4859, allocations: 49.41 kB / 0.6696 GB, free: 158 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004592/0.4905, allocations: 3.721 MB / 0.6732 GB, free: 155.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4905, allocations: 2 kB / 0.6732 GB, free: 155.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004444/0.495, allocations: 2.601 MB / 0.6757 GB, free: 154.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.4957, allocations: 276.7 kB / 0.676 GB, free: 154.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.4958, allocations: 21.84 kB / 0.676 GB, free: 154.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.4966, allocations: 30.25 kB / 0.676 GB, free: 154.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.4968, allocations: 103.3 kB / 0.6761 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.4969, allocations: 52.22 kB / 0.6762 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008725/0.4978, allocations: 0.6577 MB / 0.6768 GB, free: 154 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4978, allocations: 0 / 0.6768 GB, free: 154 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001425/0.4992, allocations: 0.4942 MB / 0.6773 GB, free: 153.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002112/0.5013, allocations: 0.753 MB / 0.6781 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002802/0.5041, allocations: 1.689 MB / 0.6797 GB, free: 153 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5042, allocations: 0 / 0.6797 GB, free: 153 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.5059, allocations: 1.079 MB / 0.6808 GB, free: 152.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.508, allocations: 0.5205 MB / 0.6813 GB, free: 152.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.5122, allocations: 2.848 MB / 0.684 GB, free: 150.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.5127, allocations: 0.6125 MB / 0.6846 GB, free: 149.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001051/0.5138, allocations: 350.2 kB / 0.685 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.5141, allocations: 140.9 kB / 0.6851 GB, free: 149.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/0.5141, allocations: 0 / 0.6851 GB, free: 149.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.03512/0.5492, allocations: 28.34 MB / 0.7128 GB, free: 121.8 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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: 7.022967979079112]