Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 108.3 kB / 17.96 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 196.4 kB / 21.22 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7633/0.7633, allocations: 94.59 MB / 399.7 MB, free: 15.79 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 85.05 kB / 0.5452 GB, free: 43.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1213, allocations: 71.86 MB / 0.6154 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05938/0.1807, allocations: 47.93 MB / 0.6622 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.1963, allocations: 12.63 MB / 0.6746 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.1969, allocations: 23.81 kB / 0.6746 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.1978, allocations: 274.2 kB / 0.6748 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.1996, allocations: 0.5553 MB / 0.6754 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.2018, allocations: 0.7431 MB / 0.6761 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.2031, allocations: 0.9298 MB / 0.677 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.2033, allocations: 101.5 kB / 0.6771 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03242/0.2358, allocations: 12.59 MB / 0.6894 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006822/0.2364, allocations: 406.4 kB / 0.6898 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.2366, allocations: 52 kB / 0.6898 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1331/0.3697, allocations: 53.12 MB / 0.7417 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.37, allocations: 155.4 kB / 0.7419 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.3704, allocations: 322.3 kB / 0.7422 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.3727, allocations: 1.129 MB / 0.7433 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3727, allocations: 0 / 0.7433 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3727, allocations: 4 kB / 0.7433 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3727, allocations: 0 / 0.7433 GB, free: 5.141 MB / 0.5762 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.002311/0.375, allocations: 1.089 MB / 0.7444 GB, free: 4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3751, allocations: 12.03 kB / 0.7444 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.3753, allocations: 82.72 kB / 0.7444 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3754, allocations: 72.52 kB / 0.7445 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.3763, allocations: 0.5211 MB / 0.745 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.3764, allocations: 84.41 kB / 0.7451 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.561e-05/0.3765, allocations: 51.98 kB / 0.7451 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.3776, allocations: 0.6519 MB / 0.7458 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3777, allocations: 0 / 0.7458 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.3777, allocations: 19.94 kB / 0.7458 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.3777, allocations: 21 kB / 0.7458 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.3789, allocations: 0.6713 MB / 0.7465 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.251/0.63, allocations: 2.438 MB / 0.7489 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.6317, allocations: 0.6555 MB / 0.7495 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/0.6323, allocations: 336 kB / 0.7498 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/0.6345, allocations: 2.634 MB / 0.7524 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.6345, allocations: 39.19 kB / 0.7524 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.006e-06/0.6345, allocations: 0 / 0.7524 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004552/0.6391, allocations: 2.201 MB / 0.7546 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.6391, allocations: 57.69 kB / 0.7546 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.6396, allocations: 426.5 kB / 0.755 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.6397, allocations: 37.7 kB / 0.7551 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.6399, allocations: 243.4 kB / 0.7553 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.64, allocations: 227.8 kB / 0.7555 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.6402, allocations: 111.9 kB / 0.7556 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6404, allocations: 371.2 kB / 0.756 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.6408, allocations: 260.4 kB / 0.7562 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.6413, allocations: 333.5 kB / 0.7566 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009703/0.6423, allocations: 0.617 MB / 0.7572 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6423, allocations: 0 / 0.7572 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001434/0.6437, allocations: 0.851 MB / 0.758 GB, free: 128 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6438, allocations: 8.625 kB / 0.758 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.6438, allocations: 6.562 kB / 0.758 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/0.6442, allocations: 134.3 kB / 0.7581 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.6447, allocations: 110.3 kB / 0.7582 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.6473, allocations: 2.479 MB / 0.7607 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.6477, allocations: 20.47 kB / 0.7607 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.6477, allocations: 25.58 kB / 0.7607 GB, free: 126 MB / 0.5762 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.0002444/0.648, allocations: 192 kB / 0.7609 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.6481, allocations: 67.61 kB / 0.7609 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.6501, allocations: 1.054 MB / 0.762 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.6501, allocations: 10.5 kB / 0.762 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6502, allocations: 2.188 kB / 0.762 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6502, allocations: 7.812 kB / 0.762 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.6534, allocations: 1.65 MB / 0.7636 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.6534, allocations: 3.219 kB / 0.7636 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.654, allocations: 97.28 kB / 0.7637 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.6545, allocations: 135.7 kB / 0.7638 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.6545, allocations: 24.34 kB / 0.7639 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.6567, allocations: 2.472 MB / 0.7663 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6567, allocations: 3.938 kB / 0.7663 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.6589, allocations: 1.287 MB / 0.7675 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.6592, allocations: 197.4 kB / 0.7677 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.6593, allocations: 12.39 kB / 0.7677 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.6596, allocations: 23.12 kB / 0.7678 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.6597, allocations: 47.2 kB / 0.7678 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/0.6598, allocations: 22.98 kB / 0.7678 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004524/0.6602, allocations: 333.7 kB / 0.7681 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6602, allocations: 0 / 0.7681 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009513/0.6612, allocations: 293.2 kB / 0.7684 GB, free: 121.6 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.002583/0.6637, allocations: 2.149 MB / 0.7705 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.6652, allocations: 0.873 MB / 0.7714 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6652, allocations: 3.938 kB / 0.7714 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.6659, allocations: 0.576 MB / 0.7719 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.6668, allocations: 199.9 kB / 0.7721 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/0.6738, allocations: 5.959 MB / 0.7779 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.6741, allocations: 0.9073 MB / 0.7788 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003743/0.6745, allocations: 136.3 kB / 0.779 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.6747, allocations: 231.3 kB / 0.7792 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.6747, allocations: 0 / 0.7792 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06047/0.7352, allocations: 20.81 MB / 0.7995 GB, free: 92.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.28, allocations: 7.438 kB / 0.7995 GB, free: 92.29 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 16.778765426948667]