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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 105.4 kB / 16.45 MB, free: 6.035 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.001547/0.001547, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.55/1.55, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.99/0.99, allocations: 94.59 MB / 397.3 MB, free: 300 kB / 302.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_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 0.002556/0.002556, allocations: 83.06 kB / 0.5416 GB, free: 42.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1735, allocations: 71.86 MB / 0.6118 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.0661/0.2396, allocations: 47.6 MB / 0.6582 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.2578, allocations: 12.52 MB / 0.6705 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009904/0.2588, allocations: 27.88 kB / 0.6705 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.2597, allocations: 270.2 kB / 0.6708 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.2619, allocations: 0.5553 MB / 0.6713 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.2646, allocations: 0.7537 MB / 0.672 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.2663, allocations: 0.9182 MB / 0.6729 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.2665, allocations: 121.4 kB / 0.673 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03427/0.3008, allocations: 12.59 MB / 0.6853 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.3015, allocations: 402.4 kB / 0.6857 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.804e-05/0.3016, allocations: 56 kB / 0.6858 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1247/0.4264, allocations: 53.12 MB / 0.7376 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.4267, allocations: 151.4 kB / 0.7378 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.4274, allocations: 326.3 kB / 0.7381 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003207/0.4306, allocations: 1.129 MB / 0.7392 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.4306, allocations: 4 kB / 0.7392 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.851e-06/0.4306, allocations: 0 / 0.7392 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.534e-05/0.4307, allocations: 3.938 kB / 0.7392 GB, free: 6.742 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.003221/0.4339, allocations: 1.086 MB / 0.7403 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4339, allocations: 8.031 kB / 0.7403 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.4341, allocations: 86.66 kB / 0.7404 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.4343, allocations: 76.5 kB / 0.7404 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009602/0.4352, allocations: 0.5056 MB / 0.7409 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.4353, allocations: 96.39 kB / 0.741 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.4356, allocations: 44 kB / 0.7411 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.4368, allocations: 0.6519 MB / 0.7417 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4368, allocations: 0 / 0.7417 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.4369, allocations: 16 kB / 0.7417 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/0.4369, allocations: 17 kB / 0.7417 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.4383, allocations: 0.6791 MB / 0.7424 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.4429, allocations: 2.448 MB / 0.7448 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.4445, allocations: 0.6654 MB / 0.7454 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3351/0.7796, allocations: 329.5 kB / 0.7458 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002384/0.782, allocations: 2.635 MB / 0.7483 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.782, allocations: 41.47 kB / 0.7484 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.906e-06/0.782, allocations: 0.9062 kB / 0.7484 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004917/0.787, allocations: 2.187 MB / 0.7505 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.787, allocations: 61.53 kB / 0.7506 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.7874, allocations: 427.4 kB / 0.751 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.7875, allocations: 36.95 kB / 0.751 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.7876, allocations: 248.9 kB / 0.7512 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.788, allocations: 234.4 kB / 0.7515 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.7882, allocations: 110 kB / 0.7516 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7883, allocations: 366.8 kB / 0.7519 GB, free: 131 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/0.7888, allocations: 263.6 kB / 0.7522 GB, free: 131 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.7895, allocations: 332.8 kB / 0.7525 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.7906, allocations: 0.6195 MB / 0.7531 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.7906, allocations: 0 / 0.7531 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001564/0.7921, allocations: 0.8477 MB / 0.7539 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7922, allocations: 9.891 kB / 0.7539 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.7922, allocations: 5.25 kB / 0.7539 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/0.7926, allocations: 131.8 kB / 0.7541 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.7931, allocations: 109.2 kB / 0.7542 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.7957, allocations: 2.475 MB / 0.7566 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.7961, allocations: 20.78 kB / 0.7566 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.7961, allocations: 26.73 kB / 0.7566 GB, free: 128.3 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.0002703/0.7964, allocations: 193.4 kB / 0.7568 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.7965, allocations: 61.97 kB / 0.7569 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.7991, allocations: 1.048 MB / 0.7579 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.7991, allocations: 7.359 kB / 0.7579 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7991, allocations: 2.219 kB / 0.7579 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.7992, allocations: 7.078 kB / 0.7579 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.8024, allocations: 1.66 MB / 0.7595 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.8024, allocations: 3.125 kB / 0.7595 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.8029, allocations: 97 kB / 0.7596 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005716/0.8035, allocations: 130.3 kB / 0.7597 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.8036, allocations: 23.23 kB / 0.7598 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.8067, allocations: 2.489 MB / 0.7622 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8067, allocations: 0 / 0.7622 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.8091, allocations: 1.293 MB / 0.7635 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.8096, allocations: 190.3 kB / 0.7636 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/0.8097, allocations: 25.78 kB / 0.7637 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.8101, allocations: 19.27 kB / 0.7637 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.8102, allocations: 45.41 kB / 0.7637 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.8102, allocations: 25.66 kB / 0.7638 GB, free: 124 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004104/0.8106, allocations: 331.3 kB / 0.7641 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8106, allocations: 0.5625 kB / 0.7641 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001559/0.8122, allocations: 290.4 kB / 0.7644 GB, free: 123.8 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.003366/0.8155, allocations: 2.146 MB / 0.7664 GB, free: 122.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.8176, allocations: 0.8679 MB / 0.7673 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8176, allocations: 0 / 0.7673 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.8184, allocations: 0.5759 MB / 0.7679 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.8196, allocations: 202.2 kB / 0.768 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/0.8276, allocations: 5.963 MB / 0.7739 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.828, allocations: 0.8996 MB / 0.7748 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005257/0.8285, allocations: 135.4 kB / 0.7749 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.8288, allocations: 231.3 kB / 0.7751 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.475e-06/0.8288, allocations: 0 / 0.7751 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07694/0.9058, allocations: 20.75 MB / 0.7954 GB, free: 94.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.64, allocations: 9.125 kB / 0.7954 GB, free: 94.71 MB / 0.5762 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.986708112061024]