Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008595/0.0008596, allocations: 180.9 kB / 15.43 MB, free: 6.211 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.249/1.249, allocations: 225.7 MB / 241.9 MB, free: 380 kB / 186.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.0007566/0.0007566, allocations: 83.73 kB / 293.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.608/0.608, allocations: 91.65 MB / 435.8 MB, free: 23.58 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002833, allocations: 11.98 kB / 0.5038 GB, free: 8.301 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2864, allocations: 69.3 MB / 0.5714 GB, free: 45.3 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.0404/0.3269, allocations: 61.1 MB / 0.6311 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.3424, allocations: 16.9 MB / 0.6476 GB, free: 14.59 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005177/0.3429, allocations: 5.594 kB / 0.6476 GB, free: 14.59 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.3437, allocations: 236 kB / 0.6479 GB, free: 14.46 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.3453, allocations: 489.6 kB / 0.6483 GB, free: 14.18 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.3474, allocations: 0.6442 MB / 0.649 GB, free: 13.84 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.3487, allocations: 1.089 MB / 0.65 GB, free: 13.41 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.349, allocations: 149 kB / 0.6502 GB, free: 13.34 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0312/0.3803, allocations: 11.45 MB / 0.6613 GB, free: 7.531 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.381, allocations: 360.8 kB / 0.6617 GB, free: 7.32 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3811, allocations: 27.94 kB / 0.6617 GB, free: 7.32 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1162/0.4974, allocations: 52.78 MB / 0.7133 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.4977, allocations: 119.5 kB / 0.7134 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004977/0.4982, allocations: 296.2 kB / 0.7137 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.5003, allocations: 1.044 MB / 0.7147 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5003, allocations: 0 / 0.7147 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5003, allocations: 0 / 0.7147 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.5003, allocations: 0 / 0.7147 GB, free: 2.742 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001948/0.5023, allocations: 0.8974 MB / 0.7156 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5024, allocations: 19.98 kB / 0.7156 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.5025, allocations: 60.19 kB / 0.7156 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.503, allocations: 387.7 kB / 0.716 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.018e-05/0.5031, allocations: 92.95 kB / 0.7161 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-05/0.5032, allocations: 52.11 kB / 0.7161 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5042, allocations: 0.6433 MB / 0.7168 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5043, allocations: 0 / 0.7168 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.5043, allocations: 16 kB / 0.7168 GB, free: 480 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.5043, allocations: 28.98 kB / 0.7168 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5055, allocations: 0.6714 MB / 0.7175 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.5092, allocations: 2.76 MB / 0.7202 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.5108, allocations: 0.7826 MB / 0.7209 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.5115, allocations: 412 kB / 0.7213 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.5137, allocations: 2.659 MB / 0.7239 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5138, allocations: 35.12 kB / 0.7239 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 3.005e-06/0.5138, allocations: 0 / 0.7239 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.004083/0.5179, allocations: 2.374 MB / 0.7263 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.518, allocations: 63.97 kB / 0.7263 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.5183, allocations: 305.6 kB / 0.7266 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.5183, allocations: 37.7 kB / 0.7267 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.5184, allocations: 205.4 kB / 0.7268 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.5186, allocations: 224.6 kB / 0.7271 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.5186, allocations: 12 kB / 0.7271 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5188, allocations: 354.8 kB / 0.7274 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.5193, allocations: 301 kB / 0.7277 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.5198, allocations: 358 kB / 0.728 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.5209, allocations: 0.6898 MB / 0.7287 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5209, allocations: 0 / 0.7287 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001559/0.5225, allocations: 0.9089 MB / 0.7296 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5225, allocations: 4 kB / 0.7296 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.5225, allocations: 7.938 kB / 0.7296 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003983/0.5229, allocations: 140.8 kB / 0.7297 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.5234, allocations: 107.9 kB / 0.7299 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.5258, allocations: 2.248 MB / 0.732 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.5262, allocations: 36.06 kB / 0.7321 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.5263, allocations: 27.98 kB / 0.7321 GB, free: 15.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.000218/0.5265, allocations: 185.6 kB / 0.7323 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.5266, allocations: 47.38 kB / 0.7323 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.5285, allocations: 1.073 MB / 0.7334 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5285, allocations: 11.94 kB / 0.7334 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5285, allocations: 4 kB / 0.7334 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.5286, allocations: 3.984 kB / 0.7334 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.5314, allocations: 1.868 MB / 0.7352 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.5315, allocations: 4 kB / 0.7352 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.532, allocations: 127.8 kB / 0.7353 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003747/0.5324, allocations: 133 kB / 0.7355 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.5324, allocations: 31.91 kB / 0.7355 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.5348, allocations: 2.252 MB / 0.7377 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5348, allocations: 0 / 0.7377 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.5372, allocations: 1.511 MB / 0.7392 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.5375, allocations: 200.4 kB / 0.7394 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.5375, allocations: 12 kB / 0.7394 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.5379, allocations: 47.81 kB / 0.7394 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.538, allocations: 48.58 kB / 0.7395 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.5381, allocations: 31.98 kB / 0.7395 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001892/0.5383, allocations: 211.2 kB / 0.7397 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5383, allocations: 0 / 0.7397 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008424/0.5391, allocations: 288 kB / 0.74 GB, free: 7.336 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.inlet.m_flow) * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007108/0.5399, allocations: 425.5 kB / 0.7404 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.5416, allocations: 1.039 MB / 0.7414 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5416, allocations: 4 kB / 0.7414 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.5426, allocations: 0.7063 MB / 0.7421 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.5434, allocations: 141.3 kB / 0.7422 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.5455, allocations: 1.672 MB / 0.7439 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.546, allocations: 0.8877 MB / 0.7447 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003948/0.5464, allocations: 136 kB / 0.7449 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.5465, allocations: 67.39 kB / 0.7449 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.5465, allocations: 0 / 0.7449 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of Templates: time 0.01974/0.5663, allocations: 13.23 MB / 0.7578 GB, free: 4.984 MB / 0.5573 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches