Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002471/0.002471, 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.002917/0.002917, 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.694/1.694, allocations: 177.1 MB / 203.1 MB, free: 5.578 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.053/1.053, allocations: 118.6 MB / 378.2 MB, free: 1.469 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.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 482.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.13e-05, allocations: 2.312 kB / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.2085/0.2086, allocations: 144.1 MB / 0.6123 GB, free: 492 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.2259, allocations: 11.66 MB / 0.6236 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005857/0.2265, allocations: 35.69 kB / 0.6237 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009211/0.2274, allocations: 270 kB / 0.6239 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.229, allocations: 0.6287 MB / 0.6245 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.2311, allocations: 0.7311 MB / 0.6253 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.2325, allocations: 1.065 MB / 0.6263 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.2328, allocations: 110.1 kB / 0.6264 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.2339, allocations: 0.5649 MB / 0.627 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.2347, allocations: 450.9 kB / 0.6274 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.2348, allocations: 52 kB / 0.6274 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.2371, allocations: 0.9121 MB / 0.6283 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.2373, allocations: 171.3 kB / 0.6285 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.2376, allocations: 231.4 kB / 0.6287 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.2396, allocations: 1.199 MB / 0.6299 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2396, allocations: 0 / 0.6299 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2396, allocations: 0 / 0.6299 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.2396, allocations: 0 / 0.6299 GB, free: 14.37 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.002374/0.242, allocations: 1.184 MB / 0.631 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.242, allocations: 8.031 kB / 0.631 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.2424, allocations: 136.4 kB / 0.6312 GB, free: 13 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.2433, allocations: 0.5019 MB / 0.6317 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.2435, allocations: 144.4 kB / 0.6318 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2436, allocations: 56.31 kB / 0.6319 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2448, allocations: 0.6198 MB / 0.6325 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.2448, allocations: 8 kB / 0.6325 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.2449, allocations: 20 kB / 0.6325 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.2449, allocations: 17 kB / 0.6325 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.246, allocations: 475.6 kB / 0.633 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.2503, allocations: 2.07 MB / 0.635 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.2516, allocations: 0.5125 MB / 0.6355 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/0.2522, allocations: 270.6 kB / 0.6357 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001655/0.2539, allocations: 332.2 kB / 0.6361 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.2539, allocations: 45.88 kB / 0.6361 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=62): time 2.485e-06/0.2539, allocations: 0 / 0.6361 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64): time 0.004312/0.2582, allocations: 1.71 MB / 0.6378 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.2583, allocations: 59.91 kB / 0.6378 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.2589, allocations: 0.4948 MB / 0.6383 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.259, allocations: 41.7 kB / 0.6384 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.2592, allocations: 324.2 kB / 0.6387 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.2595, allocations: 253.9 kB / 0.6389 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.2597, allocations: 131.9 kB / 0.639 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000369/0.2601, allocations: 0.5626 MB / 0.6396 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.2606, allocations: 201.1 kB / 0.6398 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.2611, allocations: 300.9 kB / 0.6401 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2622, allocations: 0.5294 MB / 0.6406 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2623, allocations: 0 / 0.6406 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002029/0.2643, allocations: 0.7696 MB / 0.6413 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2643, allocations: 4 kB / 0.6413 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.2643, allocations: 4 kB / 0.6413 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.2649, allocations: 131.7 kB / 0.6415 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.2654, allocations: 111.9 kB / 0.6416 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.199/0.4644, allocations: 2.87 MB / 0.6444 GB, free: 169.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.4648, allocations: 16.52 kB / 0.6444 GB, free: 169.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/0.4649, allocations: 27.67 kB / 0.6444 GB, free: 169.6 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.0002633/0.4652, allocations: 235.1 kB / 0.6446 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.4654, allocations: 103.4 kB / 0.6447 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.4674, allocations: 0.9792 MB / 0.6457 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4674, allocations: 6.469 kB / 0.6457 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4674, allocations: 6.516 kB / 0.6457 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4674, allocations: 3.344 kB / 0.6457 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.4699, allocations: 1.456 MB / 0.6471 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.4699, allocations: 6.656 kB / 0.6471 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.4704, allocations: 94.34 kB / 0.6472 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.4708, allocations: 141.3 kB / 0.6474 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.4709, allocations: 21.81 kB / 0.6474 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.4731, allocations: 2.82 MB / 0.6501 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4731, allocations: 3.938 kB / 0.6501 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.4751, allocations: 1.131 MB / 0.6512 GB, free: 165.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.4754, allocations: 116.4 kB / 0.6514 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.4754, allocations: 13.16 kB / 0.6514 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4758, allocations: 18.28 kB / 0.6514 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4759, allocations: 45.52 kB / 0.6514 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.4759, allocations: 26.69 kB / 0.6515 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003053/0.4762, allocations: 363.7 kB / 0.6518 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4762, allocations: 0 / 0.6518 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008782/0.4771, allocations: 301.3 kB / 0.6521 GB, free: 165.6 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.0005298/0.4776, allocations: 407.4 kB / 0.6525 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.479, allocations: 0.8526 MB / 0.6533 GB, free: 165 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.479, allocations: 2.75 kB / 0.6533 GB, free: 165 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007718/0.4797, allocations: 0.5967 MB / 0.6539 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.4809, allocations: 255.8 kB / 0.6541 GB, free: 164.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.4828, allocations: 1.284 MB / 0.6554 GB, free: 164 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.483, allocations: 310 kB / 0.6557 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003687/0.4834, allocations: 138 kB / 0.6558 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.4835, allocations: 69.56 kB / 0.6559 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.4835, allocations: 0 / 0.6559 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.023/0.5065, allocations: 14.72 MB / 0.6703 GB, free: 160.6 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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_dev_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.885531053994782]