Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.001023/0.001023, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009722/0.0009722, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9735/0.9735, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6437/0.6437, allocations: 118.6 MB / 378.9 MB, free: 1.496 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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 1.156 kB / 483.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.396e-05, allocations: 5.266 kB / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.0338/0.03382, allocations: 47.65 MB / 0.5188 GB, free: 1.285 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.04498, allocations: 13.03 MB / 0.5316 GB, free: 4.215 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.04572, allocations: 79.31 kB / 0.5316 GB, free: 4.137 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.04717, allocations: 1.103 MB / 0.5327 GB, free: 3.027 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.04979, allocations: 2.309 MB / 0.535 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.05138, allocations: 1.253 MB / 0.5362 GB, free: 15.45 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.05326, allocations: 3.181 MB / 0.5393 GB, free: 12.25 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.05361, allocations: 278.3 kB / 0.5396 GB, free: 11.95 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.05521, allocations: 1.96 MB / 0.5415 GB, free: 9.984 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007358/0.05594, allocations: 0.9346 MB / 0.5424 GB, free: 9.047 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.05608, allocations: 136 kB / 0.5425 GB, free: 8.914 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.05729, allocations: 1.052 MB / 0.5435 GB, free: 7.859 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.05755, allocations: 450 kB / 0.544 GB, free: 7.418 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.05803, allocations: 0.6778 MB / 0.5446 GB, free: 6.738 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.05998, allocations: 2.386 MB / 0.547 GB, free: 4.344 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.05998, allocations: 0 / 0.547 GB, free: 4.344 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.05998, allocations: 0 / 0.547 GB, free: 4.344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.05999, allocations: 0 / 0.547 GB, free: 4.344 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002587/0.06258, allocations: 2.651 MB / 0.5496 GB, free: 1.637 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.06262, allocations: 8.031 kB / 0.5496 GB, free: 1.629 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.06319, allocations: 434.8 kB / 0.55 GB, free: 1.203 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.06451, allocations: 1.338 MB / 0.5513 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.06456, allocations: 98.97 kB / 0.5514 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.06469, allocations: 140.3 kB / 0.5515 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.06598, allocations: 1.102 MB / 0.5526 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.066, allocations: 0 / 0.5526 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.06607, allocations: 56 kB / 0.5526 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.06609, allocations: 32 kB / 0.5527 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.06715, allocations: 0.733 MB / 0.5534 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.07078, allocations: 3.708 MB / 0.557 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.07196, allocations: 0.9346 MB / 0.5579 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.07246, allocations: 394.5 kB / 0.5583 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00228/0.07474, allocations: 1.876 MB / 0.5601 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006872/0.07543, allocations: 0.5938 MB / 0.5607 GB, free: 5.938 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 2.534e-06/0.07543, allocations: 3.938 kB / 0.5607 GB, free: 5.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.002142/0.07757, allocations: 1.41 MB / 0.5621 GB, free: 4.512 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.07762, allocations: 120.1 kB / 0.5622 GB, free: 4.367 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009795/0.0786, allocations: 1.243 MB / 0.5634 GB, free: 3.102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.07866, allocations: 53.7 kB / 0.5635 GB, free: 3.043 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.07908, allocations: 0.7891 MB / 0.5642 GB, free: 2.238 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.07933, allocations: 499.6 kB / 0.5647 GB, free: 1.746 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.07956, allocations: 256.5 kB / 0.565 GB, free: 1.488 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.0797, allocations: 0.5238 MB / 0.5655 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.08009, allocations: 268.2 kB / 0.5657 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.08067, allocations: 0.6675 MB / 0.5664 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009852/0.08165, allocations: 0.7997 MB / 0.5672 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.08166, allocations: 0 / 0.5672 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001495/0.08315, allocations: 1.193 MB / 0.5683 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.08319, allocations: 37.64 kB / 0.5684 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.08319, allocations: 4 kB / 0.5684 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.08351, allocations: 115.7 kB / 0.5685 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.08403, allocations: 267.7 kB / 0.5687 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.08584, allocations: 3.754 MB / 0.5724 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.08622, allocations: 117.1 kB / 0.5725 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.08629, allocations: 59.97 kB / 0.5726 GB, free: 9.207 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002889/0.08658, allocations: 232.2 kB / 0.5728 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.0868, allocations: 234.8 kB / 0.573 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.08898, allocations: 1.732 MB / 0.5747 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.08899, allocations: 12 kB / 0.5747 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.089, allocations: 11.94 kB / 0.5747 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.08901, allocations: 7.969 kB / 0.5747 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.09193, allocations: 2.581 MB / 0.5773 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.09193, allocations: 0 / 0.5773 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.09243, allocations: 263.7 kB / 0.5775 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.09267, allocations: 127.1 kB / 0.5776 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/0.09273, allocations: 47.97 kB / 0.5777 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.09443, allocations: 3.746 MB / 0.5813 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.09443, allocations: 4 kB / 0.5813 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.09646, allocations: 1.665 MB / 0.583 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.09685, allocations: 392 kB / 0.5833 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.09696, allocations: 36.06 kB / 0.5834 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.09727, allocations: 39.98 kB / 0.5834 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.09743, allocations: 117.1 kB / 0.5835 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.09749, allocations: 55.97 kB / 0.5836 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006358/0.09813, allocations: 0.7512 MB / 0.5843 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.09813, allocations: 0 / 0.5843 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008753/0.099, allocations: 0.6043 MB / 0.5849 GB, free: 12.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.00115/0.1002, allocations: 0.7829 MB / 0.5857 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.1015, allocations: 1.264 MB / 0.5869 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1015, allocations: 0 / 0.5869 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007535/0.1023, allocations: 0.8614 MB / 0.5877 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.1037, allocations: 0.6548 MB / 0.5884 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.1076, allocations: 3.081 MB / 0.5914 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1078, allocations: 320.8 kB / 0.5917 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000682/0.1085, allocations: 374.6 kB / 0.592 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.1088, allocations: 196.4 kB / 0.5922 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/0.1088, allocations: 0 / 0.5922 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.03271/0.1415, allocations: 31.87 MB / 0.6234 GB, free: 5.398 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.254940550075844]