Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_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_OM_adaptions_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.0009104/0.0009105, allocations: 178.2 kB / 15.43 MB, free: 6.215 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.196/1.196, 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.0007293/0.0007293, allocations: 88.39 kB / 293.1 MB, free: 12.89 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: 24.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.000274, allocations: 11.98 kB / 0.503 GB, free: 9.406 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2808, allocations: 69.09 MB / 0.5704 GB, free: 45.71 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.03588/0.3167, allocations: 61.1 MB / 0.6301 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.3305, allocations: 16.9 MB / 0.6466 GB, free: 15.36 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.331, allocations: 10.56 kB / 0.6466 GB, free: 15.36 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.3317, allocations: 238.6 kB / 0.6468 GB, free: 15.23 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.3329, allocations: 497 kB / 0.6473 GB, free: 14.94 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.3347, allocations: 0.6406 MB / 0.6479 GB, free: 14.6 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3359, allocations: 1.084 MB / 0.649 GB, free: 14.18 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.3361, allocations: 154.2 kB / 0.6491 GB, free: 14.11 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02739/0.3635, allocations: 11.45 MB / 0.6603 GB, free: 8.492 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.3641, allocations: 356.9 kB / 0.6607 GB, free: 8.285 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-05/0.3642, allocations: 27.81 kB / 0.6607 GB, free: 8.285 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.107/0.4713, allocations: 52.79 MB / 0.7122 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.4716, allocations: 107.6 kB / 0.7123 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.472, allocations: 304.2 kB / 0.7126 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.474, allocations: 1.036 MB / 0.7136 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.474, allocations: 0 / 0.7136 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.943e-06/0.474, allocations: 0 / 0.7136 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.474, allocations: 0 / 0.7136 GB, free: 3.875 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.001818/0.4759, allocations: 0.9042 MB / 0.7145 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.4759, allocations: 11.98 kB / 0.7145 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.476, allocations: 68.19 kB / 0.7146 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.4765, allocations: 383.8 kB / 0.715 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.4766, allocations: 88.97 kB / 0.7151 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.4767, allocations: 56.06 kB / 0.7151 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4777, allocations: 0.6433 MB / 0.7157 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.4777, allocations: 0 / 0.7157 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.4778, allocations: 20 kB / 0.7158 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.4778, allocations: 28.98 kB / 0.7158 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.4789, allocations: 0.6714 MB / 0.7164 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.4825, allocations: 2.754 MB / 0.7191 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.484, allocations: 0.7787 MB / 0.7199 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.4846, allocations: 422.2 kB / 0.7203 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/0.4868, allocations: 2.643 MB / 0.7229 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4869, allocations: 51.05 kB / 0.7229 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 2.154e-06/0.4869, allocations: 0 / 0.7229 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.003933/0.4908, allocations: 2.366 MB / 0.7252 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.4908, allocations: 59.97 kB / 0.7253 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.4911, allocations: 309.7 kB / 0.7256 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.4912, allocations: 37.7 kB / 0.7256 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4913, allocations: 201.4 kB / 0.7258 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.4915, allocations: 228.6 kB / 0.726 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.4915, allocations: 12 kB / 0.726 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4916, allocations: 362.8 kB / 0.7264 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.4921, allocations: 297 kB / 0.7267 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.4926, allocations: 362 kB / 0.727 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.4937, allocations: 0.6859 MB / 0.7277 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4937, allocations: 4 kB / 0.7277 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001475/0.4952, allocations: 0.9051 MB / 0.7286 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4952, allocations: 4 kB / 0.7286 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4952, allocations: 4 kB / 0.7286 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/0.4956, allocations: 136.8 kB / 0.7287 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.4961, allocations: 111.8 kB / 0.7288 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.4984, allocations: 2.256 MB / 0.731 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.4987, allocations: 32.08 kB / 0.7311 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.4988, allocations: 27.98 kB / 0.7311 GB, free: 0.793 MB / 0.5261 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.0002064/0.499, allocations: 185.7 kB / 0.7313 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.4991, allocations: 47.38 kB / 0.7313 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.501, allocations: 1.073 MB / 0.7324 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.501, allocations: 11.94 kB / 0.7324 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.501, allocations: 4 kB / 0.7324 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.501, allocations: 3.984 kB / 0.7324 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.5037, allocations: 1.879 MB / 0.7342 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5038, allocations: 4 kB / 0.7342 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.5043, allocations: 115.9 kB / 0.7343 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/0.5046, allocations: 136.7 kB / 0.7344 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.5047, allocations: 31.91 kB / 0.7345 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.5069, allocations: 2.256 MB / 0.7367 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5069, allocations: 0 / 0.7367 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.5091, allocations: 1.511 MB / 0.7382 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.5093, allocations: 196.5 kB / 0.7383 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.5094, allocations: 12 kB / 0.7384 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.5098, allocations: 35.92 kB / 0.7384 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5099, allocations: 56.52 kB / 0.7384 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.5099, allocations: 31.97 kB / 0.7385 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001822/0.5101, allocations: 215.2 kB / 0.7387 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5101, allocations: 0 / 0.7387 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000745/0.5109, allocations: 288 kB / 0.739 GB, free: 8.461 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.0005812/0.5115, allocations: 426 kB / 0.7394 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.5131, allocations: 1.047 MB / 0.7404 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5131, allocations: 0 / 0.7404 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/0.5141, allocations: 0.7025 MB / 0.7411 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.5148, allocations: 151.3 kB / 0.7412 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.5168, allocations: 1.673 MB / 0.7428 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.5172, allocations: 0.8838 MB / 0.7437 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003948/0.5176, allocations: 136.1 kB / 0.7438 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.5178, allocations: 63.39 kB / 0.7439 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5178, allocations: 4 kB / 0.7439 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of Templates: time 0.01855/0.5364, allocations: 13.23 MB / 0.7568 GB, free: 6.109 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches