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.001602/0.001602, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001757/0.001757, allocations: 221 kB / 23 MB, free: 4.918 MB / 14.72 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7243/0.7243, allocations: 94.62 MB / 407.8 MB, free: 8.891 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/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: translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 88.84 kB / 0.5562 GB, free: 38.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.104, allocations: 73.05 MB / 0.6275 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.0562/0.1602, allocations: 42.91 MB / 0.6694 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.1743, allocations: 11.38 MB / 0.6805 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.1748, allocations: 27.75 kB / 0.6805 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007194/0.1755, allocations: 250.3 kB / 0.6808 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.1769, allocations: 0.5436 MB / 0.6813 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.1788, allocations: 0.7431 MB / 0.682 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1799, allocations: 0.9298 MB / 0.6829 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.1801, allocations: 101.9 kB / 0.683 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02767/0.2078, allocations: 12.49 MB / 0.6952 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/0.2084, allocations: 386.3 kB / 0.6956 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-05/0.2085, allocations: 56 kB / 0.6957 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1052/0.3137, allocations: 52.45 MB / 0.7469 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.314, allocations: 155.4 kB / 0.747 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.3144, allocations: 262.7 kB / 0.7473 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.3163, allocations: 1.113 MB / 0.7484 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3163, allocations: 0 / 0.7484 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3163, allocations: 0 / 0.7484 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.3164, allocations: 3.984 kB / 0.7484 GB, free: 3.066 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.002037/0.3184, allocations: 1.01 MB / 0.7494 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3184, allocations: 8.031 kB / 0.7494 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.3186, allocations: 88.45 kB / 0.7494 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008295/0.3195, allocations: 446.8 kB / 0.7499 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.3196, allocations: 151.7 kB / 0.75 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.3197, allocations: 55.95 kB / 0.7501 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.3209, allocations: 0.7022 MB / 0.7508 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3209, allocations: 0 / 0.7508 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.3209, allocations: 20 kB / 0.7508 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.321, allocations: 24.92 kB / 0.7508 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2339/0.5549, allocations: 0.67 MB / 0.7515 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.5583, allocations: 1.908 MB / 0.7533 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.5598, allocations: 0.651 MB / 0.754 GB, free: 126 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.5604, allocations: 340.3 kB / 0.7543 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.5618, allocations: 324.8 kB / 0.7546 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.5619, allocations: 40.47 kB / 0.7546 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.564e-06/0.5619, allocations: 1.062 kB / 0.7546 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.00386/0.5657, allocations: 1.984 MB / 0.7566 GB, free: 125 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.5658, allocations: 62.91 kB / 0.7566 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.5661, allocations: 360.8 kB / 0.757 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.5661, allocations: 35.89 kB / 0.757 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.5662, allocations: 255 kB / 0.7572 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.5663, allocations: 228.1 kB / 0.7575 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.5665, allocations: 118 kB / 0.7576 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.5666, allocations: 367.7 kB / 0.7579 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.567, allocations: 260.7 kB / 0.7582 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.5674, allocations: 332.6 kB / 0.7585 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/0.5684, allocations: 0.6331 MB / 0.7591 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5684, allocations: 0 / 0.7591 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001469/0.5698, allocations: 0.8558 MB / 0.7599 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5699, allocations: 5.906 kB / 0.76 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5699, allocations: 3.234 kB / 0.76 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.5703, allocations: 138.1 kB / 0.7601 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.5707, allocations: 109.1 kB / 0.7602 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.5728, allocations: 2.324 MB / 0.7625 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.5731, allocations: 19.2 kB / 0.7625 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/0.5732, allocations: 28.44 kB / 0.7625 GB, free: 121.2 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.000207/0.5734, allocations: 183.1 kB / 0.7627 GB, free: 121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.5735, allocations: 71.11 kB / 0.7628 GB, free: 121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.5754, allocations: 1.063 MB / 0.7638 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.5754, allocations: 7.031 kB / 0.7638 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5754, allocations: 2.344 kB / 0.7638 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5755, allocations: 7.406 kB / 0.7638 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.5783, allocations: 1.487 MB / 0.7653 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.5783, allocations: 5.875 kB / 0.7653 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.5788, allocations: 96.38 kB / 0.7654 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/0.5792, allocations: 134.5 kB / 0.7655 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.5793, allocations: 23.81 kB / 0.7655 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.5814, allocations: 2.323 MB / 0.7678 GB, free: 118 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5814, allocations: 1.281 kB / 0.7678 GB, free: 118 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.5835, allocations: 1.313 MB / 0.7691 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.5838, allocations: 113.5 kB / 0.7692 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.5839, allocations: 12.19 kB / 0.7692 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.5842, allocations: 21.77 kB / 0.7692 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.5843, allocations: 47.8 kB / 0.7692 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.5843, allocations: 28.19 kB / 0.7693 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002853/0.5846, allocations: 285.3 kB / 0.7695 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5846, allocations: 0 / 0.7695 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008474/0.5855, allocations: 292.9 kB / 0.7698 GB, free: 117.1 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.0005691/0.586, allocations: 403.1 kB / 0.7702 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.5875, allocations: 0.8755 MB / 0.7711 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5875, allocations: 0 / 0.7711 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.5883, allocations: 0.5804 MB / 0.7716 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.5891, allocations: 164.4 kB / 0.7718 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.5914, allocations: 1.468 MB / 0.7732 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.5916, allocations: 304.3 kB / 0.7735 GB, free: 115 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.5918, allocations: 66.86 kB / 0.7736 GB, free: 115 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.5918, allocations: 0 / 0.7736 GB, free: 115 MB / 0.5762 GB Notification: Performance of Templates: time 0.01376/0.6056, allocations: 14.38 MB / 0.7876 GB, free: 101.5 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.111739090178162]