Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008689/0.000869, allocations: 177.1 kB / 15.43 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007556/0.0007556, allocations: 98.7 kB / 293 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6046/0.6046, allocations: 90.99 MB / 435.2 MB, free: 32.92 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 8 kB / 0.5029 GB, free: 5.016 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2865, allocations: 69.11 MB / 0.5704 GB, free: 33.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1274/0.4139, allocations: 138.3 MB / 0.7055 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.4266, allocations: 15.03 MB / 0.7201 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/0.427, allocations: 11.94 kB / 0.7201 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.4276, allocations: 246.7 kB / 0.7204 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0009809/0.4286, allocations: 0.4974 MB / 0.7209 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.43, allocations: 0.6306 MB / 0.7215 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009247/0.4309, allocations: 1.105 MB / 0.7226 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.4312, allocations: 143.2 kB / 0.7227 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.4315, allocations: 320.2 kB / 0.723 GB, free: 40 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.4321, allocations: 442.4 kB / 0.7234 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.4321, allocations: 28 kB / 0.7234 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.4338, allocations: 1.037 MB / 0.7245 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.4339, allocations: 111.5 kB / 0.7246 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.4342, allocations: 304.2 kB / 0.7249 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.4354, allocations: 1.026 MB / 0.7259 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4354, allocations: 0 / 0.7259 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4354, allocations: 0 / 0.7259 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.4354, allocations: 0 / 0.7259 GB, free: 13.1 MB / 0.5261 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.001609/0.437, allocations: 0.8994 MB / 0.7267 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4371, allocations: 15.98 kB / 0.7268 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.4372, allocations: 60.19 kB / 0.7268 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.4376, allocations: 395.6 kB / 0.7272 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.4377, allocations: 96.97 kB / 0.7273 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.4378, allocations: 48.36 kB / 0.7273 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4388, allocations: 0.6549 MB / 0.728 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4389, allocations: 0.6562 kB / 0.728 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.4389, allocations: 20 kB / 0.728 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.439, allocations: 28.98 kB / 0.728 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.4401, allocations: 0.6714 MB / 0.7287 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.4434, allocations: 2.752 MB / 0.7314 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.4447, allocations: 0.7216 MB / 0.7321 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/0.4453, allocations: 406.3 kB / 0.7324 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/0.4475, allocations: 2.628 MB / 0.735 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.4475, allocations: 39.12 kB / 0.7351 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 2.214e-06/0.4475, allocations: 0 / 0.7351 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66): time 0.00395/0.4515, allocations: 2.328 MB / 0.7373 GB, free: 348 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.4515, allocations: 63.84 kB / 0.7374 GB, free: 272 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.4518, allocations: 321.5 kB / 0.7377 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.4519, allocations: 37.7 kB / 0.7377 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.452, allocations: 213.3 kB / 0.7379 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.4522, allocations: 228.7 kB / 0.7381 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.4522, allocations: 8 kB / 0.7382 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4524, allocations: 358.8 kB / 0.7385 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.4529, allocations: 297 kB / 0.7388 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.4534, allocations: 350.9 kB / 0.7391 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.4545, allocations: 0.6828 MB / 0.7398 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4545, allocations: 0 / 0.7398 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001483/0.456, allocations: 0.8972 MB / 0.7407 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.456, allocations: 4 kB / 0.7407 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.456, allocations: 8.125 kB / 0.7407 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.4564, allocations: 133.5 kB / 0.7408 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.4569, allocations: 107.9 kB / 0.7409 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.4592, allocations: 2.245 MB / 0.7431 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.4596, allocations: 44 kB / 0.7431 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.4596, allocations: 25.86 kB / 0.7432 GB, free: 10.15 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002185/0.4599, allocations: 187.5 kB / 0.7433 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.4599, allocations: 43.44 kB / 0.7434 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.4618, allocations: 1.063 MB / 0.7444 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4618, allocations: 12 kB / 0.7444 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4618, allocations: 4 kB / 0.7444 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4619, allocations: 3.984 kB / 0.7444 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.4646, allocations: 1.86 MB / 0.7463 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.4646, allocations: 4 kB / 0.7463 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.4651, allocations: 123.8 kB / 0.7464 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.4655, allocations: 133.8 kB / 0.7465 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.4655, allocations: 19.98 kB / 0.7465 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.4678, allocations: 2.177 MB / 0.7486 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4678, allocations: 4.891 kB / 0.7487 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.47, allocations: 1.463 MB / 0.7501 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.4701, allocations: 132.6 kB / 0.7502 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.4701, allocations: 12 kB / 0.7502 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.4705, allocations: 27.98 kB / 0.7502 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4706, allocations: 52.58 kB / 0.7503 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.4707, allocations: 27.98 kB / 0.7503 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001924/0.4709, allocations: 219.2 kB / 0.7505 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4709, allocations: 4 kB / 0.7505 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000729/0.4716, allocations: 284 kB / 0.7508 GB, free: 2.074 MB / 0.5417 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0005294/0.4721, allocations: 397.3 kB / 0.7512 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.4737, allocations: 1.028 MB / 0.7522 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4738, allocations: 0 / 0.7522 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.4748, allocations: 0.6875 MB / 0.7529 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.4755, allocations: 159.2 kB / 0.753 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.4776, allocations: 1.677 MB / 0.7547 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.478, allocations: 0.8841 MB / 0.7555 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003886/0.4784, allocations: 130.2 kB / 0.7556 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.4785, allocations: 59.41 kB / 0.7557 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of SimCode: time 2.6e-07/0.4785, allocations: 4 kB / 0.7557 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of Templates: time 0.01792/0.4965, allocations: 12.59 MB / 0.768 GB, free: 492 kB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches