Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006157/0.006157, allocations: 103.4 kB / 15.73 MB, free: 6.043 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.001454/0.001454, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6884/0.6884, allocations: 91.18 MB / 381.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 75.88 kB / 0.5164 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1444, allocations: 67.69 MB / 0.5825 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.3241/0.4686, allocations: 47.35 MB / 0.6287 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.4834, allocations: 12.44 MB / 0.6408 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009013/0.4844, allocations: 20.25 kB / 0.6409 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009353/0.4853, allocations: 279.5 kB / 0.6411 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.4874, allocations: 0.5326 MB / 0.6417 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.4898, allocations: 0.7358 MB / 0.6424 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.4912, allocations: 0.8962 MB / 0.6432 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.4916, allocations: 173.8 kB / 0.6434 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03688/0.5285, allocations: 12.56 MB / 0.6557 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009476/0.5295, allocations: 399.8 kB / 0.6561 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.5298, allocations: 52.28 kB / 0.6561 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1361/0.6658, allocations: 53 MB / 0.7079 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.6663, allocations: 155.4 kB / 0.708 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006441/0.667, allocations: 318.3 kB / 0.7083 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.6699, allocations: 1.114 MB / 0.7094 GB, free: 6.078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.67, allocations: 0 / 0.7094 GB, free: 6.078 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.925e-06/0.67, allocations: 0 / 0.7094 GB, free: 6.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.874e-05/0.67, allocations: 0 / 0.7094 GB, free: 6.078 MB / 0.545 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.002688/0.6727, allocations: 1.044 MB / 0.7104 GB, free: 4.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.6728, allocations: 11.97 kB / 0.7104 GB, free: 4.973 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.6729, allocations: 86.7 kB / 0.7105 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.6731, allocations: 69 kB / 0.7106 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008549/0.674, allocations: 0.4976 MB / 0.7111 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.6741, allocations: 96.33 kB / 0.7112 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/0.6742, allocations: 51.84 kB / 0.7112 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.6755, allocations: 0.6576 MB / 0.7119 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6755, allocations: 4 kB / 0.7119 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.6756, allocations: 19.98 kB / 0.7119 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.6756, allocations: 21 kB / 0.7119 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.6768, allocations: 0.6636 MB / 0.7125 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.6807, allocations: 2.45 MB / 0.7149 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.6823, allocations: 0.6973 MB / 0.7156 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.683, allocations: 370.3 kB / 0.716 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002623/0.6856, allocations: 2.628 MB / 0.7185 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.6856, allocations: 43.06 kB / 0.7186 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.394e-06/0.6857, allocations: 7.938 kB / 0.7186 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.004323/0.69, allocations: 2.19 MB / 0.7207 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.6901, allocations: 111.4 kB / 0.7208 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.6906, allocations: 418 kB / 0.7212 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.6907, allocations: 33.7 kB / 0.7213 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.6909, allocations: 232.9 kB / 0.7215 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.6911, allocations: 220.8 kB / 0.7217 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.6913, allocations: 122.1 kB / 0.7218 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.6915, allocations: 366.8 kB / 0.7222 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.692, allocations: 261.1 kB / 0.7224 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.6925, allocations: 345.5 kB / 0.7227 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.6936, allocations: 0.625 MB / 0.7234 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6936, allocations: 0 / 0.7234 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001589/0.6952, allocations: 0.8465 MB / 0.7242 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6953, allocations: 4 kB / 0.7242 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.6953, allocations: 4 kB / 0.7242 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/0.6958, allocations: 144.4 kB / 0.7243 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.6963, allocations: 107.9 kB / 0.7244 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.6991, allocations: 2.468 MB / 0.7268 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.6995, allocations: 23.92 kB / 0.7269 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.6996, allocations: 29.48 kB / 0.7269 GB, free: 2.965 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0003034/0.6999, allocations: 198.4 kB / 0.7271 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.7, allocations: 55.34 kB / 0.7271 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.702, allocations: 1.055 MB / 0.7282 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.702, allocations: 4 kB / 0.7282 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.702, allocations: 4.875 kB / 0.7282 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.7021, allocations: 3.984 kB / 0.7282 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.7049, allocations: 1.663 MB / 0.7298 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.7049, allocations: 4 kB / 0.7298 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.7054, allocations: 103.8 kB / 0.7299 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.7059, allocations: 140.8 kB / 0.73 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.7059, allocations: 23.23 kB / 0.7301 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.7087, allocations: 2.462 MB / 0.7325 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7087, allocations: 3.938 kB / 0.7325 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.7109, allocations: 1.29 MB / 0.7337 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.7113, allocations: 196.3 kB / 0.7339 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.7114, allocations: 12 kB / 0.7339 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.7118, allocations: 19.98 kB / 0.7339 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.7119, allocations: 48.5 kB / 0.734 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.7119, allocations: 27.97 kB / 0.734 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003757/0.7123, allocations: 322.9 kB / 0.7343 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7123, allocations: 3.938 kB / 0.7343 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009484/0.7133, allocations: 295.8 kB / 0.7346 GB, free: 10.78 MB / 0.5762 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 (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,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.003011/0.7163, allocations: 2.134 MB / 0.7367 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.718, allocations: 0.9036 MB / 0.7376 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.718, allocations: 4.312 kB / 0.7376 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/0.719, allocations: 0.5946 MB / 0.7382 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.72, allocations: 208.9 kB / 0.7384 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009215/0.7293, allocations: 5.904 MB / 0.7441 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.7299, allocations: 0.9034 MB / 0.745 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004988/0.7304, allocations: 136.7 kB / 0.7451 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.7307, allocations: 227.3 kB / 0.7454 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of SimCode: time 9.11e-07/0.7308, allocations: 0 / 0.7454 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04939/0.7802, allocations: 20.89 MB / 0.7658 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.8, allocations: 11.3 kB / 0.7658 GB, free: 10.82 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches