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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 113 kB / 17.6 MB, free: 4.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 186.8 kB / 20.78 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.598/0.598, allocations: 90.29 MB / 394.8 MB, free: 3.871 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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=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 0.002361/0.002361, allocations: 87.86 kB / 0.5386 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3866, allocations: 70.82 MB / 0.6078 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.2033/0.59, allocations: 150 MB / 0.7543 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.6055, allocations: 12.13 MB / 0.7661 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.606, allocations: 7.938 kB / 0.7661 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009083/0.6069, allocations: 298.2 kB / 0.7664 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.6084, allocations: 0.5204 MB / 0.7669 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.6106, allocations: 0.7308 MB / 0.7676 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.6117, allocations: 0.8636 MB / 0.7685 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.6119, allocations: 108.4 kB / 0.7686 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.6125, allocations: 354.7 kB / 0.7689 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.6132, allocations: 478.3 kB / 0.7694 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.6133, allocations: 52 kB / 0.7694 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.6156, allocations: 1.064 MB / 0.7705 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.6158, allocations: 143.5 kB / 0.7706 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.6161, allocations: 310.5 kB / 0.7709 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.618, allocations: 1.035 MB / 0.7719 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.618, allocations: 4 kB / 0.7719 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.618, allocations: 0 / 0.7719 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.618, allocations: 0 / 0.7719 GB, free: 2.758 MB / 0.5919 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.002059/0.6201, allocations: 1.016 MB / 0.7729 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.6201, allocations: 12.03 kB / 0.7729 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.6203, allocations: 64.52 kB / 0.773 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.6208, allocations: 395.9 kB / 0.7733 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.621, allocations: 96.95 kB / 0.7734 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/0.621, allocations: 48.27 kB / 0.7735 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.6223, allocations: 0.6597 MB / 0.7741 GB, free: 368 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.6223, allocations: 4 kB / 0.7741 GB, free: 364 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.6224, allocations: 20 kB / 0.7741 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.6224, allocations: 20.98 kB / 0.7742 GB, free: 324 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.6237, allocations: 0.6676 MB / 0.7748 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.6278, allocations: 2.42 MB / 0.7772 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.6291, allocations: 0.5985 MB / 0.7778 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.6298, allocations: 334.3 kB / 0.7781 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003194/0.633, allocations: 2.612 MB / 0.7806 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/0.6331, allocations: 47.06 kB / 0.7807 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.825e-06/0.6331, allocations: 0 / 0.7807 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=64): time 0.004626/0.6377, allocations: 2.129 MB / 0.7828 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.6378, allocations: 59.97 kB / 0.7828 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.6382, allocations: 349.7 kB / 0.7832 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.6383, allocations: 41.7 kB / 0.7832 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.6384, allocations: 213.7 kB / 0.7834 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.6387, allocations: 230 kB / 0.7836 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.6389, allocations: 118.2 kB / 0.7837 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.639, allocations: 362.8 kB / 0.7841 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/0.6396, allocations: 253.1 kB / 0.7843 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.6402, allocations: 328.6 kB / 0.7846 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.6413, allocations: 0.6104 MB / 0.7852 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6413, allocations: 0 / 0.7852 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00172/0.643, allocations: 0.8272 MB / 0.786 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6431, allocations: 8.938 kB / 0.786 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.6431, allocations: 4 kB / 0.786 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.6435, allocations: 128.8 kB / 0.7862 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.6441, allocations: 107.9 kB / 0.7863 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.6472, allocations: 2.466 MB / 0.7887 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.6475, allocations: 28.08 kB / 0.7887 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.6476, allocations: 31.92 kB / 0.7887 GB, free: 348 kB / 0.6075 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.0002882/0.6479, allocations: 185.7 kB / 0.7889 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.648, allocations: 51.67 kB / 0.789 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.6501, allocations: 1.024 MB / 0.79 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.6501, allocations: 8 kB / 0.79 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6501, allocations: 0 / 0.79 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6502, allocations: 0 / 0.79 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.653, allocations: 1.631 MB / 0.7916 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.653, allocations: 4 kB / 0.7916 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.6535, allocations: 99.86 kB / 0.7917 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.6539, allocations: 132.7 kB / 0.7918 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.654, allocations: 19.98 kB / 0.7918 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.6569, allocations: 2.408 MB / 0.7942 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6569, allocations: 3.938 kB / 0.7942 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.6593, allocations: 1.23 MB / 0.7954 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.6595, allocations: 124.8 kB / 0.7955 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.6595, allocations: 12 kB / 0.7955 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.6599, allocations: 23.92 kB / 0.7955 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.66, allocations: 40.5 kB / 0.7956 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.66, allocations: 23.98 kB / 0.7956 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004111/0.6604, allocations: 279.1 kB / 0.7958 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6604, allocations: 4 kB / 0.7958 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009547/0.6614, allocations: 287.4 kB / 0.7961 GB, free: 8.492 MB / 0.6231 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.0006617/0.6621, allocations: 406.3 kB / 0.7965 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.6638, allocations: 0.853 MB / 0.7973 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6638, allocations: 4.125 kB / 0.7973 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009967/0.6648, allocations: 0.5596 MB / 0.7979 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009832/0.6658, allocations: 196.9 kB / 0.7981 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.6684, allocations: 1.345 MB / 0.7994 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.669, allocations: 0.8799 MB / 0.8003 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004303/0.6694, allocations: 128.3 kB / 0.8004 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.6696, allocations: 59.41 kB / 0.8004 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of SimCode: time 1.112e-06/0.6696, allocations: 0 / 0.8004 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of Templates: time 0.02447/0.694, allocations: 13.82 MB / 0.8139 GB, free: 6.207 MB / 0.6387 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/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.306869136169553]