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.001043/0.001043, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006791/0.006792, allocations: 170 kB / 16.27 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6357/0.6357, allocations: 91.32 MB / 382.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005904/0.0005904, allocations: 13 kB / 462.7 MB, free: 23.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1287, allocations: 69.22 MB / 0.5195 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3751/0.5039, allocations: 145.6 MB / 0.6617 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.5174, allocations: 11.94 MB / 0.6733 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006689/0.5181, allocations: 24.91 kB / 0.6734 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.5189, allocations: 256.4 kB / 0.6736 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.5204, allocations: 0.5032 MB / 0.6741 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.5223, allocations: 0.6372 MB / 0.6747 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.5235, allocations: 1.122 MB / 0.6758 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.5237, allocations: 152.2 kB / 0.676 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004906/0.5242, allocations: 336.7 kB / 0.6763 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005807/0.5248, allocations: 450.2 kB / 0.6767 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.5249, allocations: 27.56 kB / 0.6767 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.5268, allocations: 1.022 MB / 0.6777 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.527, allocations: 123.4 kB / 0.6779 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.5273, allocations: 328 kB / 0.6782 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.5287, allocations: 1.024 MB / 0.6792 GB, free: 4.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5287, allocations: 0 / 0.6792 GB, free: 4.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5287, allocations: 4 kB / 0.6792 GB, free: 4.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.5288, allocations: 0 / 0.6792 GB, free: 4.055 MB / 494.1 MB 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.001945/0.5307, allocations: 0.9551 MB / 0.6801 GB, free: 3.047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5307, allocations: 8.031 kB / 0.6801 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.5309, allocations: 72.09 kB / 0.6802 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.5315, allocations: 485.5 kB / 0.6806 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.5316, allocations: 92.72 kB / 0.6807 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.314e-05/0.5317, allocations: 52 kB / 0.6808 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5327, allocations: 0.6597 MB / 0.6814 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.5328, allocations: 0 / 0.6814 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.5328, allocations: 20 kB / 0.6814 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.5329, allocations: 21 kB / 0.6815 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.5341, allocations: 0.6792 MB / 0.6821 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/0.5375, allocations: 2.467 MB / 0.6845 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.5387, allocations: 0.6308 MB / 0.6852 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/0.5393, allocations: 359.9 kB / 0.6855 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/0.5417, allocations: 2.624 MB / 0.6881 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5418, allocations: 35.12 kB / 0.6881 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.435e-06/0.5418, allocations: 0 / 0.6881 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.004075/0.5459, allocations: 2.179 MB / 0.6902 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.5459, allocations: 59.97 kB / 0.6903 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.5464, allocations: 430 kB / 0.6907 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.5464, allocations: 37.7 kB / 0.6907 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.5466, allocations: 237.5 kB / 0.6909 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.5468, allocations: 220.8 kB / 0.6912 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.5469, allocations: 53.69 kB / 0.6912 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.547, allocations: 374.7 kB / 0.6916 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.5475, allocations: 265.1 kB / 0.6918 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.5481, allocations: 332.6 kB / 0.6921 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.5492, allocations: 0.622 MB / 0.6927 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5492, allocations: 0 / 0.6927 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001575/0.5508, allocations: 0.8463 MB / 0.6936 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5508, allocations: 6.5 kB / 0.6936 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.5508, allocations: 7.984 kB / 0.6936 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.5512, allocations: 132.9 kB / 0.6937 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.5517, allocations: 115.7 kB / 0.6938 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.5543, allocations: 2.245 MB / 0.696 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.5547, allocations: 27.95 kB / 0.696 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.5547, allocations: 23.98 kB / 0.6961 GB, free: 1.574 MB / 0.4981 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.0002557/0.555, allocations: 201.7 kB / 0.6963 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.5551, allocations: 59.25 kB / 0.6963 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.557, allocations: 1.038 MB / 0.6973 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5571, allocations: 7.938 kB / 0.6973 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5571, allocations: 4 kB / 0.6973 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.5571, allocations: 3.984 kB / 0.6973 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.5597, allocations: 1.662 MB / 0.699 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.5597, allocations: 4 kB / 0.699 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.5602, allocations: 95.88 kB / 0.6991 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003805/0.5606, allocations: 136.1 kB / 0.6992 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.5606, allocations: 23.98 kB / 0.6992 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.563, allocations: 2.184 MB / 0.7013 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5631, allocations: 4.031 kB / 0.7014 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.5651, allocations: 1.26 MB / 0.7026 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.5653, allocations: 144.3 kB / 0.7027 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.5654, allocations: 12 kB / 0.7027 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.5657, allocations: 19.98 kB / 0.7028 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.5658, allocations: 48.48 kB / 0.7028 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.5659, allocations: 27.98 kB / 0.7028 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003548/0.5662, allocations: 330.9 kB / 0.7031 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5662, allocations: 0 / 0.7031 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00084/0.5671, allocations: 291.8 kB / 0.7034 GB, free: 9.785 MB / 0.5137 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.0005748/0.5677, allocations: 379.4 kB / 0.7038 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.5693, allocations: 0.8997 MB / 0.7047 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5693, allocations: 0 / 0.7047 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009198/0.5702, allocations: 0.5871 MB / 0.7052 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5713, allocations: 189.8 kB / 0.7054 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.5739, allocations: 1.739 MB / 0.7071 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.5743, allocations: 0.8998 MB / 0.708 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004178/0.5747, allocations: 144.7 kB / 0.7081 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5749, allocations: 63.41 kB / 0.7082 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of SimCode: time 1.824e-06/0.5749, allocations: 0 / 0.7082 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of Templates: time 0.02118/0.5961, allocations: 13.04 MB / 0.7209 GB, free: 7.805 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches