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.001506/0.001506, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001667/0.001667, allocations: 216 kB / 23.01 MB, free: 4.566 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.6908/0.6908, allocations: 94.56 MB / 407.7 MB, free: 9.215 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.00242/0.00242, allocations: 81.17 kB / 0.5562 GB, free: 38.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1042, allocations: 73.06 MB / 0.6275 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05637/0.1606, allocations: 48.02 MB / 0.6744 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.1755, allocations: 12.63 MB / 0.6868 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.176, allocations: 35.62 kB / 0.6868 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.1769, allocations: 274.2 kB / 0.687 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.1784, allocations: 0.5514 MB / 0.6876 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.1804, allocations: 0.7681 MB / 0.6883 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1817, allocations: 0.9297 MB / 0.6892 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.1819, allocations: 106 kB / 0.6893 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02748/0.2094, allocations: 12.53 MB / 0.7016 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.21, allocations: 410.3 kB / 0.702 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.2101, allocations: 52 kB / 0.702 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3507/0.5607, allocations: 52.58 MB / 0.7534 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.561, allocations: 149.2 kB / 0.7535 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.5614, allocations: 318.1 kB / 0.7538 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.5633, allocations: 1.133 MB / 0.7549 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5633, allocations: 0 / 0.7549 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5633, allocations: 1.219 kB / 0.7549 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5633, allocations: 0 / 0.7549 GB, free: 63.91 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.00173/0.5651, allocations: 1.016 MB / 0.7559 GB, free: 63.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.5651, allocations: 9.938 kB / 0.7559 GB, free: 63.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.5652, allocations: 74.25 kB / 0.756 GB, free: 63.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.5659, allocations: 450.2 kB / 0.7564 GB, free: 63.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.566, allocations: 144.4 kB / 0.7566 GB, free: 63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/0.566, allocations: 48.62 kB / 0.7566 GB, free: 63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009646/0.567, allocations: 0.6565 MB / 0.7572 GB, free: 62.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.567, allocations: 3.969 kB / 0.7573 GB, free: 62.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.5671, allocations: 16.92 kB / 0.7573 GB, free: 62.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.5671, allocations: 26.84 kB / 0.7573 GB, free: 62.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.5682, allocations: 0.677 MB / 0.758 GB, free: 62.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.5714, allocations: 2.406 MB / 0.7603 GB, free: 62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.5728, allocations: 0.6489 MB / 0.7609 GB, free: 61.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.5733, allocations: 338.6 kB / 0.7613 GB, free: 61.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.5748, allocations: 325.8 kB / 0.7616 GB, free: 61.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.5748, allocations: 38.16 kB / 0.7616 GB, free: 61.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 1.864e-06/0.5748, allocations: 3 kB / 0.7616 GB, free: 61.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.003507/0.5783, allocations: 1.983 MB / 0.7635 GB, free: 61.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.5783, allocations: 64.06 kB / 0.7636 GB, free: 61.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.5788, allocations: 426.6 kB / 0.764 GB, free: 61.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.5789, allocations: 36.33 kB / 0.764 GB, free: 61.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.579, allocations: 241.4 kB / 0.7643 GB, free: 61.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5791, allocations: 237.6 kB / 0.7645 GB, free: 61.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.5793, allocations: 109 kB / 0.7646 GB, free: 61.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.5794, allocations: 370.2 kB / 0.765 GB, free: 60.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.5799, allocations: 272.3 kB / 0.7652 GB, free: 60.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.5805, allocations: 330.9 kB / 0.7655 GB, free: 60.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.5816, allocations: 0.6244 MB / 0.7661 GB, free: 60.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5817, allocations: 0.5312 kB / 0.7661 GB, free: 60.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001463/0.5831, allocations: 0.8535 MB / 0.767 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5831, allocations: 5.219 kB / 0.767 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.5831, allocations: 4.156 kB / 0.767 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.5835, allocations: 135 kB / 0.7671 GB, free: 60.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.584, allocations: 112 kB / 0.7672 GB, free: 60.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.5862, allocations: 2.371 MB / 0.7695 GB, free: 59.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.5865, allocations: 18.11 kB / 0.7696 GB, free: 59.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.5866, allocations: 29.27 kB / 0.7696 GB, free: 59.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.0002331/0.5868, allocations: 192.2 kB / 0.7698 GB, free: 59.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.5869, allocations: 67.61 kB / 0.7698 GB, free: 59.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.5886, allocations: 1.051 MB / 0.7709 GB, free: 58.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5886, allocations: 6.875 kB / 0.7709 GB, free: 58.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5886, allocations: 1.375 kB / 0.7709 GB, free: 58.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.5886, allocations: 5.641 kB / 0.7709 GB, free: 58.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.5909, allocations: 1.636 MB / 0.7725 GB, free: 58.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.5909, allocations: 4.812 kB / 0.7725 GB, free: 58.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.5914, allocations: 98.08 kB / 0.7726 GB, free: 58.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.5917, allocations: 135.3 kB / 0.7727 GB, free: 58.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.5918, allocations: 22.17 kB / 0.7727 GB, free: 58.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.5938, allocations: 2.376 MB / 0.775 GB, free: 57.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5938, allocations: 2.344 kB / 0.775 GB, free: 57.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.5955, allocations: 1.303 MB / 0.7763 GB, free: 57.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.5957, allocations: 115.1 kB / 0.7764 GB, free: 57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.5958, allocations: 22.88 kB / 0.7764 GB, free: 56.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.5961, allocations: 19.66 kB / 0.7765 GB, free: 56.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.5962, allocations: 49 kB / 0.7765 GB, free: 56.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.5962, allocations: 25.75 kB / 0.7765 GB, free: 56.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002746/0.5965, allocations: 330.6 kB / 0.7769 GB, free: 56.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5965, allocations: 3.344 kB / 0.7769 GB, free: 56.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000862/0.5974, allocations: 289.7 kB / 0.7771 GB, free: 56.87 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.0005218/0.5979, allocations: 409.4 kB / 0.7775 GB, free: 56.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.5992, allocations: 0.8792 MB / 0.7784 GB, free: 56.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5992, allocations: 0 / 0.7784 GB, free: 56.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.5999, allocations: 0.5819 MB / 0.779 GB, free: 56.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.6008, allocations: 209.8 kB / 0.7792 GB, free: 56.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.6028, allocations: 1.479 MB / 0.7806 GB, free: 55.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.603, allocations: 0.8969 MB / 0.7815 GB, free: 54.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.6032, allocations: 73.84 kB / 0.7815 GB, free: 54.93 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.6032, allocations: 0 / 0.7815 GB, free: 54.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.01406/0.6173, allocations: 14.72 MB / 0.7959 GB, free: 49.96 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: 8.972382151056081]