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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 109.7 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001712, allocations: 187 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6952/0.6952, allocations: 91.19 MB / 382.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 75.88 kB / 0.5175 GB, free: 4.129 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3008, allocations: 67.68 MB / 0.5836 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.154/0.4548, allocations: 149.4 MB / 0.7295 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.307/0.7618, allocations: 11.99 MB / 0.7412 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.7624, allocations: 20.75 kB / 0.7412 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007797/0.7632, allocations: 296 kB / 0.7415 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.7646, allocations: 0.5434 MB / 0.742 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.7664, allocations: 0.7182 MB / 0.7427 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009745/0.7674, allocations: 0.9114 MB / 0.7436 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.7677, allocations: 177.8 kB / 0.7438 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.7683, allocations: 387.9 kB / 0.7441 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006965/0.769, allocations: 470.4 kB / 0.7446 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.7691, allocations: 52.66 kB / 0.7446 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.7714, allocations: 1.051 MB / 0.7457 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.7715, allocations: 147.9 kB / 0.7458 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.772, allocations: 328.4 kB / 0.7461 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.774, allocations: 1.103 MB / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.774, allocations: 0.9375 kB / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7741, allocations: 2.719 kB / 0.7472 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.7741, allocations: 0 / 0.7472 GB, free: 1.27 MB / 0.5762 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.002027/0.7761, allocations: 1.058 MB / 0.7482 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.7761, allocations: 10.06 kB / 0.7482 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.7763, allocations: 71.19 kB / 0.7483 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.7771, allocations: 0.504 MB / 0.7488 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.7772, allocations: 92.59 kB / 0.7489 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.7773, allocations: 52.16 kB / 0.7489 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.7784, allocations: 0.6686 MB / 0.7496 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.7784, allocations: 0.5938 kB / 0.7496 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.7784, allocations: 24.56 kB / 0.7496 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.7785, allocations: 19.38 kB / 0.7496 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.7797, allocations: 0.664 MB / 0.7503 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.7833, allocations: 2.449 MB / 0.7527 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.7845, allocations: 0.6185 MB / 0.7533 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.785, allocations: 356 kB / 0.7536 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002426/0.7875, allocations: 2.621 MB / 0.7562 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.7875, allocations: 41.94 kB / 0.7562 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 3.086e-06/0.7875, allocations: 0.9375 kB / 0.7562 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.00379/0.7913, allocations: 2.146 MB / 0.7583 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.7914, allocations: 112.1 kB / 0.7584 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.7918, allocations: 429.8 kB / 0.7588 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.7919, allocations: 35.89 kB / 0.7589 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.7921, allocations: 244.5 kB / 0.7591 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.7922, allocations: 225.6 kB / 0.7593 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.7923, allocations: 113.1 kB / 0.7594 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7925, allocations: 371 kB / 0.7598 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.7929, allocations: 257.4 kB / 0.76 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.7934, allocations: 340.7 kB / 0.7603 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/0.7944, allocations: 0.6117 MB / 0.7609 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7944, allocations: 0 / 0.7609 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00141/0.7958, allocations: 0.8481 MB / 0.7618 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7959, allocations: 5.969 kB / 0.7618 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.7959, allocations: 9.391 kB / 0.7618 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.7963, allocations: 131.8 kB / 0.7619 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.7968, allocations: 111.8 kB / 0.762 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.7995, allocations: 2.459 MB / 0.7644 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.8, allocations: 31.91 kB / 0.7644 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.8, allocations: 21.47 kB / 0.7645 GB, free: 8.992 MB / 0.5919 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.0002931/0.8003, allocations: 205.3 kB / 0.7647 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.8005, allocations: 66.33 kB / 0.7647 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.8022, allocations: 1.022 MB / 0.7657 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.8022, allocations: 6.281 kB / 0.7657 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8022, allocations: 3.406 kB / 0.7657 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.8023, allocations: 3.875 kB / 0.7657 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.8046, allocations: 1.643 MB / 0.7673 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.8047, allocations: 1.938 kB / 0.7673 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.8051, allocations: 97.95 kB / 0.7674 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.8055, allocations: 135.2 kB / 0.7676 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.8055, allocations: 23.61 kB / 0.7676 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.808, allocations: 2.406 MB / 0.7699 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.808, allocations: 0 / 0.7699 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.8099, allocations: 1.245 MB / 0.7711 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.81, allocations: 128.1 kB / 0.7713 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.8101, allocations: 16.78 kB / 0.7713 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.8104, allocations: 24.55 kB / 0.7713 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.8105, allocations: 41.94 kB / 0.7713 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.8106, allocations: 26.02 kB / 0.7714 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00032/0.8109, allocations: 329.4 kB / 0.7717 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8109, allocations: 0 / 0.7717 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009235/0.8118, allocations: 287.9 kB / 0.772 GB, free: 6.398 MB / 0.5919 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.0006841/0.8125, allocations: 391 kB / 0.7723 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.8141, allocations: 0.8857 MB / 0.7732 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8141, allocations: 0 / 0.7732 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008723/0.815, allocations: 0.5908 MB / 0.7738 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009834/0.816, allocations: 204.8 kB / 0.774 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.8184, allocations: 1.434 MB / 0.7754 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.8188, allocations: 0.8993 MB / 0.7762 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.8191, allocations: 69.58 kB / 0.7763 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.8191, allocations: 0.9688 kB / 0.7763 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of Templates: time 0.01726/0.8363, allocations: 14.41 MB / 0.7904 GB, free: 1.48 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile (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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi Variables in the result:time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi