Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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.002305/0.002305, allocations: 85.48 kB / 19.44 MB, free: 344 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.002681/0.002681, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.68/1.68, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.081/1.081, allocations: 118.6 MB / 378.2 MB, free: 1.484 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.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.512e-05, allocations: 7.156 kB / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.2205/0.2206, allocations: 144.1 MB / 0.6122 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.2383, allocations: 11.66 MB / 0.6236 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007361/0.239, allocations: 35.62 kB / 0.6237 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.2402, allocations: 282 kB / 0.6239 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.242, allocations: 0.6248 MB / 0.6245 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.2442, allocations: 0.7311 MB / 0.6253 GB, free: 3.156 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.2457, allocations: 1.062 MB / 0.6263 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.2459, allocations: 110.2 kB / 0.6264 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009803/0.2469, allocations: 0.5687 MB / 0.627 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008058/0.2477, allocations: 450.8 kB / 0.6274 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.2478, allocations: 56 kB / 0.6274 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.2501, allocations: 0.9082 MB / 0.6283 GB, free: 8 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.2503, allocations: 163.5 kB / 0.6285 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.2506, allocations: 247.3 kB / 0.6287 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.2528, allocations: 1.188 MB / 0.6299 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2528, allocations: 0 / 0.6299 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2528, allocations: 0 / 0.6299 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.2529, allocations: 0 / 0.6299 GB, free: 14.41 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002625/0.2555, allocations: 1.188 MB / 0.631 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2555, allocations: 12.03 kB / 0.6311 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.2559, allocations: 136.4 kB / 0.6312 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009994/0.2569, allocations: 0.498 MB / 0.6317 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.257, allocations: 144.4 kB / 0.6318 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.2571, allocations: 48.38 kB / 0.6319 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2583, allocations: 0.6237 MB / 0.6325 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2584, allocations: 3.953 kB / 0.6325 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.2584, allocations: 16 kB / 0.6325 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.2585, allocations: 24.98 kB / 0.6325 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2596, allocations: 471.6 kB / 0.633 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.2637, allocations: 2.074 MB / 0.635 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.265, allocations: 0.5141 MB / 0.6355 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.2656, allocations: 270.3 kB / 0.6357 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/0.2673, allocations: 332.1 kB / 0.6361 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.2673, allocations: 41.89 kB / 0.6361 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/0.2673, allocations: 0 / 0.6361 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64): time 0.004403/0.2717, allocations: 1.714 MB / 0.6378 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002614/0.272, allocations: 59.89 kB / 0.6378 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.2726, allocations: 0.5025 MB / 0.6383 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.2727, allocations: 37.7 kB / 0.6384 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.2729, allocations: 328.2 kB / 0.6387 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.2732, allocations: 242 kB / 0.6389 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.2734, allocations: 128 kB / 0.639 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003587/0.2738, allocations: 0.5625 MB / 0.6396 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.2743, allocations: 197.2 kB / 0.6398 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.2749, allocations: 300.9 kB / 0.64 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.276, allocations: 0.5333 MB / 0.6406 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.276, allocations: 0 / 0.6406 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001801/0.2778, allocations: 0.7657 MB / 0.6413 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2778, allocations: 4 kB / 0.6413 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.2778, allocations: 7.984 kB / 0.6413 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/0.2783, allocations: 131.7 kB / 0.6415 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.2789, allocations: 111.9 kB / 0.6416 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1775/0.4564, allocations: 2.874 MB / 0.6444 GB, free: 169.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.4568, allocations: 20.31 kB / 0.6444 GB, free: 169.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.4569, allocations: 25.67 kB / 0.6444 GB, free: 169.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.4572, allocations: 231.5 kB / 0.6446 GB, free: 169.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.4574, allocations: 104.8 kB / 0.6447 GB, free: 169.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.4594, allocations: 0.9777 MB / 0.6457 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4594, allocations: 9.594 kB / 0.6457 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4594, allocations: 3.203 kB / 0.6457 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4594, allocations: 3.297 kB / 0.6457 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.462, allocations: 1.469 MB / 0.6471 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.462, allocations: 4.219 kB / 0.6471 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.4625, allocations: 95.2 kB / 0.6472 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/0.463, allocations: 142.2 kB / 0.6474 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.463, allocations: 23.89 kB / 0.6474 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.4652, allocations: 2.818 MB / 0.6501 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4652, allocations: 5.031 kB / 0.6501 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.4672, allocations: 1.132 MB / 0.6512 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.4675, allocations: 112.8 kB / 0.6514 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.4676, allocations: 15.28 kB / 0.6514 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4679, allocations: 20.38 kB / 0.6514 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.468, allocations: 44.59 kB / 0.6514 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.468, allocations: 29.53 kB / 0.6515 GB, free: 165.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003029/0.4683, allocations: 362.8 kB / 0.6518 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4683, allocations: 0 / 0.6518 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008413/0.4692, allocations: 295.8 kB / 0.6521 GB, free: 165.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005665/0.4697, allocations: 416.3 kB / 0.6525 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.4712, allocations: 0.851 MB / 0.6533 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4712, allocations: 0 / 0.6533 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.472, allocations: 0.5986 MB / 0.6539 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.4732, allocations: 248.9 kB / 0.6541 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4751, allocations: 1.284 MB / 0.6554 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4754, allocations: 307.8 kB / 0.6557 GB, free: 164 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004216/0.4758, allocations: 136.2 kB / 0.6558 GB, free: 164 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.476, allocations: 70.91 kB / 0.6559 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/0.476, allocations: 4 kB / 0.6559 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.02331/0.4993, allocations: 14.71 MB / 0.6703 GB, free: 160.7 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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.856278686085716]