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.001292/0.001292, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001401/0.001401, allocations: 214.1 kB / 22.99 MB, free: 4.945 MB / 14.72 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7235/0.7235, allocations: 94.62 MB / 407.8 MB, free: 8.824 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 90.73 kB / 0.5562 GB, free: 38.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1078, allocations: 73.05 MB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4406/0.5485, allocations: 129.1 MB / 0.7536 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.5597, allocations: 11.04 MB / 0.7644 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006045/0.5603, allocations: 30.94 kB / 0.7644 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000833/0.5611, allocations: 266.6 kB / 0.7647 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.5626, allocations: 0.5537 MB / 0.7652 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.5646, allocations: 0.7238 MB / 0.7659 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000961/0.5656, allocations: 0.945 MB / 0.7668 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.5658, allocations: 102 kB / 0.7669 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.5663, allocations: 407.4 kB / 0.7673 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.5669, allocations: 457.8 kB / 0.7678 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.756e-05/0.5669, allocations: 54.5 kB / 0.7678 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.5687, allocations: 0.907 MB / 0.7687 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.5689, allocations: 153.9 kB / 0.7688 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.5692, allocations: 271.6 kB / 0.7691 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.5712, allocations: 1.098 MB / 0.7702 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5712, allocations: 1.312 kB / 0.7702 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5712, allocations: 0 / 0.7702 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.5712, allocations: 5.438 kB / 0.7702 GB, free: 3.305 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.002308/0.5735, allocations: 1.018 MB / 0.7712 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5736, allocations: 9.5 kB / 0.7712 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.5738, allocations: 89.17 kB / 0.7713 GB, free: 18.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008065/0.5746, allocations: 452.7 kB / 0.7717 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.5748, allocations: 146.8 kB / 0.7718 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.5748, allocations: 53.89 kB / 0.7719 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.5759, allocations: 0.7083 MB / 0.7726 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.5759, allocations: 4.719 kB / 0.7726 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.576, allocations: 17.91 kB / 0.7726 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.576, allocations: 23.94 kB / 0.7726 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.5772, allocations: 0.6807 MB / 0.7733 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003434/0.5806, allocations: 1.894 MB / 0.7751 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.5818, allocations: 0.5896 MB / 0.7757 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.5824, allocations: 331.3 kB / 0.776 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.5838, allocations: 305.8 kB / 0.7763 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.5838, allocations: 48.09 kB / 0.7764 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.665e-06/0.5838, allocations: 0 / 0.7764 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003864/0.5877, allocations: 1.948 MB / 0.7783 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.5878, allocations: 56.84 kB / 0.7783 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.5881, allocations: 364 kB / 0.7787 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.5882, allocations: 39.55 kB / 0.7787 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.5883, allocations: 261.5 kB / 0.779 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.5884, allocations: 233.6 kB / 0.7792 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.5886, allocations: 112.3 kB / 0.7793 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5888, allocations: 363.8 kB / 0.7796 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.5892, allocations: 255.6 kB / 0.7799 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.5896, allocations: 338.6 kB / 0.7802 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.5905, allocations: 0.6177 MB / 0.7808 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5905, allocations: 0 / 0.7808 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00141/0.5919, allocations: 0.8491 MB / 0.7816 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5919, allocations: 4.969 kB / 0.7816 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.5919, allocations: 7.281 kB / 0.7816 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.5923, allocations: 123.2 kB / 0.7818 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.5928, allocations: 116.3 kB / 0.7819 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.5953, allocations: 2.314 MB / 0.7841 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.5957, allocations: 15.94 kB / 0.7841 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.5957, allocations: 33.53 kB / 0.7842 GB, free: 14.9 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.0002692/0.596, allocations: 193.6 kB / 0.7844 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.5962, allocations: 68.05 kB / 0.7844 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.5978, allocations: 1.027 MB / 0.7854 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5978, allocations: 5.469 kB / 0.7854 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5978, allocations: 5.219 kB / 0.7854 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.5978, allocations: 5.438 kB / 0.7854 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.6001, allocations: 1.488 MB / 0.7869 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.6001, allocations: 3.625 kB / 0.7869 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.6005, allocations: 97.69 kB / 0.787 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003342/0.6009, allocations: 135.2 kB / 0.7871 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.6009, allocations: 22.45 kB / 0.7871 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.6032, allocations: 2.249 MB / 0.7893 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6032, allocations: 4.062 kB / 0.7893 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.6051, allocations: 1.261 MB / 0.7906 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.6052, allocations: 49.48 kB / 0.7906 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.6052, allocations: 13.91 kB / 0.7906 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.6055, allocations: 18.69 kB / 0.7907 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.6056, allocations: 53.58 kB / 0.7907 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.6057, allocations: 21.17 kB / 0.7907 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002697/0.6059, allocations: 289.8 kB / 0.791 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6059, allocations: 0 / 0.791 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008761/0.6068, allocations: 287.5 kB / 0.7913 GB, free: 12.63 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.0005456/0.6073, allocations: 391.8 kB / 0.7917 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.6087, allocations: 0.859 MB / 0.7925 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6087, allocations: 4.312 kB / 0.7925 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000801/0.6095, allocations: 0.5566 MB / 0.793 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.6103, allocations: 158.8 kB / 0.7932 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.6125, allocations: 1.474 MB / 0.7946 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.6127, allocations: 301.2 kB / 0.7949 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.6129, allocations: 72.27 kB / 0.795 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6129, allocations: 0 / 0.795 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.01661/0.6295, allocations: 14.22 MB / 0.8089 GB, free: 8.16 MB / 0.5919 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 9.059660247992724]