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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.005557/0.005557, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001513/0.001513, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6621/0.6621, allocations: 89.47 MB / 380 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 83.86 kB / 0.5139 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1226, allocations: 67.3 MB / 0.5796 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.285/0.4076, allocations: 47.24 MB / 0.6258 GB, free: 496 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.4215, allocations: 12.42 MB / 0.6379 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/0.422, allocations: 13.94 kB / 0.6379 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.4228, allocations: 273.5 kB / 0.6382 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.4242, allocations: 0.5091 MB / 0.6387 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.4262, allocations: 0.746 MB / 0.6394 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000886/0.4271, allocations: 0.8516 MB / 0.6402 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.4273, allocations: 165.1 kB / 0.6404 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03082/0.4582, allocations: 12.52 MB / 0.6526 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005506/0.4588, allocations: 380.6 kB / 0.653 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.4589, allocations: 57.06 kB / 0.653 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1191/0.5779, allocations: 53 MB / 0.7048 GB, free: 12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.5783, allocations: 143.5 kB / 0.7049 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.5789, allocations: 302.5 kB / 0.7052 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.5815, allocations: 1.055 MB / 0.7062 GB, free: 10.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5815, allocations: 0 / 0.7062 GB, free: 10.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5815, allocations: 0 / 0.7062 GB, free: 10.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.5815, allocations: 0 / 0.7062 GB, free: 10.5 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.002063/0.5836, allocations: 1.007 MB / 0.7072 GB, free: 9.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5836, allocations: 12.03 kB / 0.7072 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.5837, allocations: 86.7 kB / 0.7073 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.5839, allocations: 64.52 kB / 0.7074 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.5844, allocations: 387.9 kB / 0.7078 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.5845, allocations: 97.14 kB / 0.7078 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.284e-05/0.5846, allocations: 51.89 kB / 0.7079 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.5857, allocations: 0.6575 MB / 0.7085 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.5857, allocations: 0 / 0.7085 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.5858, allocations: 23.98 kB / 0.7086 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.5858, allocations: 24.98 kB / 0.7086 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.587, allocations: 0.6675 MB / 0.7092 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.5905, allocations: 2.417 MB / 0.7116 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.592, allocations: 0.7029 MB / 0.7123 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.5927, allocations: 374.3 kB / 0.7126 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002617/0.5953, allocations: 2.639 MB / 0.7152 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.5954, allocations: 35.12 kB / 0.7153 GB, free: 416 kB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 2.174e-06/0.5954, allocations: 0 / 0.7153 GB, free: 416 kB / 0.545 GB Notification: Performance of matching and sorting (n=65): time 0.004119/0.5995, allocations: 2.18 MB / 0.7174 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.5996, allocations: 119.3 kB / 0.7175 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.5999, allocations: 341.7 kB / 0.7178 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.6, allocations: 37.7 kB / 0.7179 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.6001, allocations: 205.1 kB / 0.7181 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.6003, allocations: 233.9 kB / 0.7183 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.6005, allocations: 114.2 kB / 0.7184 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.6007, allocations: 358.8 kB / 0.7187 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.6012, allocations: 265.1 kB / 0.719 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.6018, allocations: 345.3 kB / 0.7193 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.6029, allocations: 0.6213 MB / 0.7199 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6029, allocations: 0 / 0.7199 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001584/0.6045, allocations: 0.8466 MB / 0.7207 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6045, allocations: 8.156 kB / 0.7207 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.6046, allocations: 4 kB / 0.7208 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.605, allocations: 124.8 kB / 0.7209 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.6055, allocations: 115.8 kB / 0.721 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.6083, allocations: 2.484 MB / 0.7234 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.6086, allocations: 27.98 kB / 0.7234 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.6087, allocations: 27.98 kB / 0.7235 GB, free: 7.66 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.0002468/0.6089, allocations: 190.2 kB / 0.7236 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.609, allocations: 51.67 kB / 0.7237 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.611, allocations: 1.047 MB / 0.7247 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.611, allocations: 7.938 kB / 0.7247 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.611, allocations: 4 kB / 0.7247 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.611, allocations: 3.984 kB / 0.7247 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.6137, allocations: 1.632 MB / 0.7263 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.6137, allocations: 4 kB / 0.7263 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.6142, allocations: 96.73 kB / 0.7264 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.6146, allocations: 136.7 kB / 0.7266 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.6146, allocations: 19.98 kB / 0.7266 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.6173, allocations: 2.492 MB / 0.729 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6173, allocations: 0 / 0.729 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.6195, allocations: 1.283 MB / 0.7303 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.6197, allocations: 188.7 kB / 0.7304 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.6198, allocations: 15.94 kB / 0.7305 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.6201, allocations: 19.98 kB / 0.7305 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.6202, allocations: 48.5 kB / 0.7305 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.6203, allocations: 23.97 kB / 0.7305 GB, free: 144 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003036/0.6206, allocations: 275.2 kB / 0.7308 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6206, allocations: 0 / 0.7308 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008218/0.6214, allocations: 291.3 kB / 0.7311 GB, free: 15.59 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.002949/0.6244, allocations: 2.127 MB / 0.7332 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.626, allocations: 0.9154 MB / 0.734 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6261, allocations: 0 / 0.734 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.6271, allocations: 0.6065 MB / 0.7346 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.628, allocations: 197.6 kB / 0.7348 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008194/0.6362, allocations: 5.634 MB / 0.7403 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.6367, allocations: 0.8799 MB / 0.7412 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003861/0.6371, allocations: 136.2 kB / 0.7413 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.6374, allocations: 199.3 kB / 0.7415 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.6374, allocations: 0 / 0.7415 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.6866, allocations: 19.69 MB / 0.7607 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.26, allocations: 15.95 kB / 0.7608 GB, free: 1.137 MB / 0.5919 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