Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001428/0.001428, allocations: 88.72 kB / 19.44 MB, free: 356 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.001561/0.001561, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.031/1.031, allocations: 118.6 MB / 378.2 MB, free: 1.453 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 482.9 MB, free: 8.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.096e-05, allocations: 2.312 kB / 482.9 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.2022/0.2023, allocations: 141.9 MB / 0.6102 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.2203, allocations: 11.08 MB / 0.621 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009268/0.2212, allocations: 55.5 kB / 0.621 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.2232, allocations: 0.6329 MB / 0.6216 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.2269, allocations: 1.331 MB / 0.6229 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.2301, allocations: 0.9726 MB / 0.6239 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003217/0.2333, allocations: 2.199 MB / 0.626 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.2339, allocations: 219.8 kB / 0.6262 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.2364, allocations: 1.259 MB / 0.6275 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.2384, allocations: 1.013 MB / 0.6285 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003878/0.2388, allocations: 132 kB / 0.6286 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.242, allocations: 1.345 MB / 0.6299 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.2426, allocations: 410.6 kB / 0.6303 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009833/0.2436, allocations: 0.5338 MB / 0.6308 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.2477, allocations: 2.395 MB / 0.6332 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2477, allocations: 3.938 kB / 0.6332 GB, free: 11 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2477, allocations: 0 / 0.6332 GB, free: 11 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.063e-05/0.2478, allocations: 0 / 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.005463/0.2532, allocations: 2.072 MB / 0.6352 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2533, allocations: 8.031 kB / 0.6352 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006936/0.254, allocations: 267.8 kB / 0.6354 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.256, allocations: 1.02 MB / 0.6364 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.2561, allocations: 129.7 kB / 0.6366 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.2564, allocations: 99.95 kB / 0.6367 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.2591, allocations: 1.572 MB / 0.6382 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.2592, allocations: 0 / 0.6382 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.2593, allocations: 35.94 kB / 0.6382 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/0.2594, allocations: 49.98 kB / 0.6383 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.2631, allocations: 2.064 MB / 0.6403 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2144/0.4775, allocations: 4.052 MB / 0.6443 GB, free: 169.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.4798, allocations: 1.086 MB / 0.6453 GB, free: 169.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.4811, allocations: 0.7333 MB / 0.646 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003905/0.485, allocations: 1.563 MB / 0.6476 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.485, allocations: 45.38 kB / 0.6476 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=120): time 3.116e-06/0.4851, allocations: 3.188 kB / 0.6476 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=122): time 0.008673/0.4937, allocations: 4.394 MB / 0.6519 GB, free: 167 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4938, allocations: 63.59 kB / 0.652 GB, free: 167 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00091/0.4947, allocations: 0.8764 MB / 0.6528 GB, free: 166.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.04e-05/0.4947, allocations: 47.2 kB / 0.6529 GB, free: 166.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.495, allocations: 0.5004 MB / 0.6533 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.4952, allocations: 448.4 kB / 0.6538 GB, free: 165.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.4956, allocations: 250.2 kB / 0.654 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.4957, allocations: 350.7 kB / 0.6543 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008302/0.4965, allocations: 0.5544 MB / 0.6549 GB, free: 165.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/0.4974, allocations: 0.8737 MB / 0.6557 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.4994, allocations: 1.338 MB / 0.657 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4994, 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.003215/0.5026, allocations: 1.887 MB / 0.6589 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5026, allocations: 5.719 kB / 0.6589 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.5026, allocations: 9.188 kB / 0.6589 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.5037, allocations: 367.6 kB / 0.6593 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5047, allocations: 240 kB / 0.6595 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/0.5094, allocations: 3.721 MB / 0.6631 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.5105, allocations: 42.22 kB / 0.6632 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.5107, allocations: 69.72 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.00059/0.5113, allocations: 330.7 kB / 0.6635 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/0.5117, allocations: 185.3 kB / 0.6637 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/0.5157, allocations: 2.625 MB / 0.6663 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5157, allocations: 11.44 kB / 0.6663 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5157, allocations: 5.031 kB / 0.6663 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.5157, allocations: 6.641 kB / 0.6663 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.5201, allocations: 2.711 MB / 0.6689 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.5201, allocations: 7.219 kB / 0.669 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008865/0.521, allocations: 176.9 kB / 0.6691 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.5221, allocations: 416.3 kB / 0.6695 GB, free: 158 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.5222, allocations: 47.92 kB / 0.6696 GB, free: 158 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004803/0.527, allocations: 3.718 MB / 0.6732 GB, free: 155.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.527, allocations: 1.812 kB / 0.6732 GB, free: 155.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.5319, allocations: 2.601 MB / 0.6757 GB, free: 154.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008227/0.5328, allocations: 267 kB / 0.676 GB, free: 154.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.533, allocations: 28.19 kB / 0.676 GB, free: 154.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.5337, allocations: 33.77 kB / 0.6761 GB, free: 154.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/0.534, allocations: 104 kB / 0.6762 GB, free: 154.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.5341, allocations: 51.52 kB / 0.6762 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009834/0.5351, allocations: 0.659 MB / 0.6768 GB, free: 154 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.5351, allocations: 1.375 kB / 0.6768 GB, free: 154 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001526/0.5367, allocations: 0.492 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.002164/0.5388, allocations: 0.7527 MB / 0.6781 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.5417, allocations: 1.684 MB / 0.6797 GB, free: 153 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5417, allocations: 0 / 0.6797 GB, free: 153 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.5434, allocations: 1.075 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.002109/0.5456, allocations: 0.5274 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.004239/0.5498, allocations: 2.852 MB / 0.6841 GB, free: 150.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.5503, allocations: 0.6107 MB / 0.6847 GB, free: 149.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009941/0.5513, allocations: 351.3 kB / 0.685 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.5516, allocations: 143.5 kB / 0.6851 GB, free: 149.4 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.5516, allocations: 0 / 0.6851 GB, free: 149.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.03458/0.5862, allocations: 28.32 MB / 0.7128 GB, free: 121.7 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.357517161988653]