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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.149/1.149, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7817/0.7817, allocations: 80.17 MB / 339.4 MB, free: 7.559 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.757e-06/3.757e-06, allocations: 0 / 0.4924 GB, free: 6.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.751e-05, allocations: 6.281 kB / 0.4924 GB, free: 6.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.0535/0.05353, allocations: 44.34 MB / 0.5357 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.06493, allocations: 10.07 MB / 0.5455 GB, free: 1.777 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007635/0.06569, allocations: 31.69 kB / 0.5455 GB, free: 1.746 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.06692, allocations: 254 kB / 0.5458 GB, free: 1.496 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.06864, allocations: 0.6092 MB / 0.5464 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.07098, allocations: 0.758 MB / 0.5471 GB, free: 128 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.07205, allocations: 1.015 MB / 0.5481 GB, free: 15.11 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.07247, allocations: 98.03 kB / 0.5482 GB, free: 15.01 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02959/0.1021, allocations: 12.72 MB / 0.5606 GB, free: 2.199 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006568/0.1027, allocations: 359 kB / 0.561 GB, free: 1.848 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.1028, allocations: 52 kB / 0.561 GB, free: 1.797 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07103/0.1738, allocations: 52.66 MB / 0.6124 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.1743, allocations: 159.3 kB / 0.6126 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006264/0.1749, allocations: 231.4 kB / 0.6128 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.1778, allocations: 1.176 MB / 0.614 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1779, allocations: 0 / 0.614 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1779, allocations: 0 / 0.614 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.1779, allocations: 0 / 0.614 GB, free: 11.01 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002649/0.1805, allocations: 1.015 MB / 0.615 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001247/0.1806, allocations: 13.47 kB / 0.615 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.1808, allocations: 82.7 kB / 0.615 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.181, allocations: 92.45 kB / 0.6151 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.1816, allocations: 442 kB / 0.6156 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.1818, allocations: 144.4 kB / 0.6157 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.182, allocations: 59.88 kB / 0.6157 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009016/0.1829, allocations: 0.7061 MB / 0.6164 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1829, allocations: 0 / 0.6164 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.1829, allocations: 16 kB / 0.6165 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.183, allocations: 24.98 kB / 0.6165 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009007/0.1839, allocations: 0.6714 MB / 0.6171 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.1866, allocations: 2.005 MB / 0.6191 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1878, allocations: 0.6538 MB / 0.6197 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.1883, allocations: 335.2 kB / 0.62 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008597/0.1892, allocations: 324.2 kB / 0.6204 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1892, allocations: 39.06 kB / 0.6204 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.625e-06/0.1892, allocations: 0 / 0.6204 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.004037/0.1932, allocations: 2.005 MB / 0.6224 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1933, allocations: 68 kB / 0.6224 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.1937, allocations: 430.1 kB / 0.6228 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.1938, allocations: 33.7 kB / 0.6229 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.1939, allocations: 245 kB / 0.6231 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1941, allocations: 230 kB / 0.6233 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.1942, allocations: 118.3 kB / 0.6234 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1943, allocations: 362.8 kB / 0.6238 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.1947, allocations: 265.2 kB / 0.624 GB, free: 424 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.1952, allocations: 332.2 kB / 0.6243 GB, free: 76 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.1959, allocations: 0.6228 MB / 0.6249 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1959, allocations: 0 / 0.6249 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001192/0.1971, allocations: 0.8723 MB / 0.6258 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.1972, allocations: 4 kB / 0.6258 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.1972, allocations: 4 kB / 0.6258 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.1976, allocations: 139.4 kB / 0.6259 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.1978, allocations: 107.8 kB / 0.626 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.2003, allocations: 2.339 MB / 0.6283 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.2004, allocations: 20.02 kB / 0.6283 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.2005, allocations: 36.03 kB / 0.6284 GB, free: 11.8 MB / 0.5417 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.0005382/0.201, allocations: 189.6 kB / 0.6286 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2011, allocations: 75.61 kB / 0.6286 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.2026, allocations: 1.054 MB / 0.6297 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2026, allocations: 8 kB / 0.6297 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2026, allocations: 12 kB / 0.6297 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.2026, allocations: 3.984 kB / 0.6297 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.2046, allocations: 1.554 MB / 0.6312 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.2046, allocations: 4 kB / 0.6312 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.2049, allocations: 95.86 kB / 0.6313 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.2052, allocations: 140 kB / 0.6314 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.2053, allocations: 19.98 kB / 0.6315 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.2073, allocations: 2.348 MB / 0.6337 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2073, allocations: 3.984 kB / 0.6337 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2089, allocations: 1.309 MB / 0.635 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.2091, allocations: 111.5 kB / 0.6351 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.2091, allocations: 19.89 kB / 0.6352 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.2093, allocations: 19.98 kB / 0.6352 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.2094, allocations: 60.33 kB / 0.6352 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.2095, allocations: 19.98 kB / 0.6352 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008428/0.2103, allocations: 330.9 kB / 0.6356 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.2103, allocations: 4 kB / 0.6356 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006881/0.211, allocations: 299.4 kB / 0.6359 GB, free: 3.918 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 (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.002471/0.2135, allocations: 2.172 MB / 0.638 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.2148, allocations: 0.8699 MB / 0.6388 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2148, allocations: 4 kB / 0.6388 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/0.2155, allocations: 0.5751 MB / 0.6394 GB, free: 212 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.388/0.6035, allocations: 279.3 kB / 0.6397 GB, free: 146.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.615, allocations: 5.891 MB / 0.6454 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.6156, allocations: 298 kB / 0.6457 GB, free: 144.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006552/0.6162, allocations: 144.3 kB / 0.6458 GB, free: 144.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.6165, allocations: 234.7 kB / 0.6461 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.443e-06/0.6165, allocations: 0 / 0.6461 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.6677, allocations: 24.04 MB / 0.6695 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.58, allocations: 10.75 kB / 0.6695 GB, free: 128.5 MB / 0.5417 GB " [Timeout remaining time 648] (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 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.09261890873313]