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.008202/0.008202, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001988/0.001988, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7262/0.7262, allocations: 91.18 MB / 381.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 83.88 kB / 0.5168 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3269, allocations: 67.69 MB / 0.5829 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1582/0.4852, allocations: 149.3 MB / 0.7288 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3407/0.8259, allocations: 12 MB / 0.7405 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00081/0.8268, allocations: 20.56 kB / 0.7405 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008156/0.8276, allocations: 290 kB / 0.7408 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.8291, allocations: 0.5576 MB / 0.7413 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.8314, allocations: 0.7156 MB / 0.742 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009007/0.8323, allocations: 0.9171 MB / 0.7429 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.8326, allocations: 168 kB / 0.7431 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.8331, allocations: 393.1 kB / 0.7435 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.8338, allocations: 471.2 kB / 0.7439 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.757e-05/0.8339, allocations: 52.91 kB / 0.744 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.8363, allocations: 1.05 MB / 0.745 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.8365, allocations: 153.3 kB / 0.7451 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.8369, allocations: 324.1 kB / 0.7455 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.8386, allocations: 1.104 MB / 0.7465 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8387, allocations: 0 / 0.7465 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8387, allocations: 3.719 kB / 0.7465 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.8387, allocations: 0 / 0.7465 GB, free: 1.293 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.001941/0.8406, allocations: 1.055 MB / 0.7476 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.8407, allocations: 12.72 kB / 0.7476 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.8408, allocations: 70.66 kB / 0.7476 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.8415, allocations: 0.4966 MB / 0.7481 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.8416, allocations: 97.88 kB / 0.7482 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8417, allocations: 56.19 kB / 0.7483 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.8428, allocations: 0.6595 MB / 0.7489 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.8428, allocations: 4.031 kB / 0.7489 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.8428, allocations: 22.06 kB / 0.7489 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.8429, allocations: 22.92 kB / 0.749 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.8441, allocations: 0.6717 MB / 0.7496 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.8477, allocations: 2.44 MB / 0.752 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.8489, allocations: 0.6314 MB / 0.7526 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.8494, allocations: 358.9 kB / 0.753 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002376/0.8518, allocations: 2.616 MB / 0.7555 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.8518, allocations: 39.06 kB / 0.7556 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.374e-06/0.8519, allocations: 0 / 0.7556 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003687/0.8555, allocations: 2.15 MB / 0.7577 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.8556, allocations: 111.2 kB / 0.7578 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.856, allocations: 436.1 kB / 0.7582 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.856, allocations: 34.58 kB / 0.7582 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.8562, allocations: 244.6 kB / 0.7584 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.8563, allocations: 217.8 kB / 0.7587 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.8565, allocations: 113.9 kB / 0.7588 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8566, allocations: 373.2 kB / 0.7591 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.857, allocations: 253.9 kB / 0.7594 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.8575, allocations: 341.5 kB / 0.7597 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/0.8584, allocations: 0.6115 MB / 0.7603 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8584, allocations: 0.9062 kB / 0.7603 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001387/0.8598, allocations: 0.842 MB / 0.7611 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8599, allocations: 7.125 kB / 0.7611 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.8599, allocations: 4.344 kB / 0.7611 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.8603, allocations: 137.6 kB / 0.7612 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.8608, allocations: 111.4 kB / 0.7614 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.8633, allocations: 2.459 MB / 0.7638 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.8636, allocations: 27.14 kB / 0.7638 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.8637, allocations: 24.98 kB / 0.7638 GB, free: 9.012 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.0002458/0.8639, allocations: 205.4 kB / 0.764 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.864, allocations: 59.48 kB / 0.7641 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.8657, allocations: 1.023 MB / 0.7651 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.8658, allocations: 9.875 kB / 0.7651 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8658, allocations: 2.125 kB / 0.7651 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.8658, allocations: 6.641 kB / 0.7651 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.8681, allocations: 1.654 MB / 0.7667 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.8681, allocations: 3.406 kB / 0.7667 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.8685, allocations: 95.17 kB / 0.7668 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.8689, allocations: 127.8 kB / 0.7669 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.869, allocations: 25.64 kB / 0.7669 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.8713, allocations: 2.411 MB / 0.7693 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8713, allocations: 1 kB / 0.7693 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.8731, allocations: 1.244 MB / 0.7705 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.8732, allocations: 126 kB / 0.7706 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.8733, allocations: 19.56 kB / 0.7706 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.8736, allocations: 19.52 kB / 0.7707 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.8737, allocations: 42.88 kB / 0.7707 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.8738, allocations: 25.8 kB / 0.7707 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003112/0.8741, allocations: 329.5 kB / 0.771 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8741, allocations: 0 / 0.771 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008819/0.875, allocations: 288.2 kB / 0.7713 GB, free: 6.414 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.0006029/0.8756, allocations: 394.4 kB / 0.7717 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.8771, allocations: 0.887 MB / 0.7726 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8771, allocations: 0 / 0.7726 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008434/0.8779, allocations: 0.5909 MB / 0.7731 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00091/0.8789, allocations: 207.5 kB / 0.7733 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.8811, allocations: 1.402 MB / 0.7747 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.8815, allocations: 0.8977 MB / 0.7756 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.8819, allocations: 137.7 kB / 0.7757 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.8821, allocations: 60.98 kB / 0.7758 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.8821, allocations: 6.703 kB / 0.7758 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of Templates: time 0.02116/0.9033, allocations: 13.77 MB / 0.7892 GB, free: 2.125 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches