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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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: translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007417/0.007417, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6658/0.6658, allocations: 91.19 MB / 381.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 87.81 kB / 0.5168 GB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1434, allocations: 67.68 MB / 0.5829 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.3147/0.4582, allocations: 47.36 MB / 0.6292 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.4722, allocations: 12.44 MB / 0.6413 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.4731, allocations: 20.06 kB / 0.6413 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008815/0.474, allocations: 275 kB / 0.6416 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.4757, allocations: 0.5405 MB / 0.6421 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.4778, allocations: 0.758 MB / 0.6429 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.4789, allocations: 0.8978 MB / 0.6437 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.4792, allocations: 165.4 kB / 0.6439 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.032/0.5112, allocations: 12.56 MB / 0.6562 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.5119, allocations: 391.4 kB / 0.6565 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-05/0.512, allocations: 52.47 kB / 0.6566 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1259/0.6379, allocations: 53 MB / 0.7084 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.6382, allocations: 143.5 kB / 0.7085 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.6388, allocations: 318.4 kB / 0.7088 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.641, allocations: 1.118 MB / 0.7099 GB, free: 5.699 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.641, allocations: 0 / 0.7099 GB, free: 5.699 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.641, allocations: 0 / 0.7099 GB, free: 5.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.641, allocations: 0 / 0.7099 GB, free: 5.699 MB / 0.545 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.002033/0.6431, allocations: 1.056 MB / 0.7109 GB, free: 4.594 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6431, allocations: 8.031 kB / 0.7109 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.6433, allocations: 76.17 kB / 0.711 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.644, allocations: 0.496 MB / 0.7115 GB, free: 3.977 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.6441, allocations: 92.34 kB / 0.7116 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/0.6442, allocations: 55.83 kB / 0.7116 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6452, allocations: 0.6653 MB / 0.7123 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6452, allocations: 0 / 0.7123 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.6453, allocations: 16 kB / 0.7123 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.6453, allocations: 21 kB / 0.7123 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.6465, allocations: 0.6675 MB / 0.713 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.65, allocations: 2.447 MB / 0.7154 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.6515, allocations: 0.6946 MB / 0.716 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.6521, allocations: 370.3 kB / 0.7164 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002615/0.6548, allocations: 2.628 MB / 0.719 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.6548, allocations: 47.06 kB / 0.719 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.746e-06/0.6548, allocations: 0 / 0.719 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.0042/0.659, allocations: 2.186 MB / 0.7211 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.6591, allocations: 119.4 kB / 0.7212 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.6596, allocations: 417.9 kB / 0.7216 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.6596, allocations: 37.64 kB / 0.7217 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.6598, allocations: 228.9 kB / 0.7219 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.66, allocations: 224.8 kB / 0.7221 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.6602, allocations: 110.1 kB / 0.7222 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6604, allocations: 374.8 kB / 0.7226 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.6608, allocations: 261.1 kB / 0.7228 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.6614, allocations: 346.2 kB / 0.7232 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.6625, allocations: 0.6213 MB / 0.7238 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6625, allocations: 0 / 0.7238 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001577/0.6641, allocations: 0.8464 MB / 0.7246 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6641, allocations: 7.938 kB / 0.7246 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.6641, allocations: 7.984 kB / 0.7246 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/0.6646, allocations: 128.8 kB / 0.7247 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.6651, allocations: 117.1 kB / 0.7248 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.6678, allocations: 2.467 MB / 0.7272 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.6682, allocations: 20.86 kB / 0.7273 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.6682, allocations: 31.91 kB / 0.7273 GB, free: 2.676 MB / 0.5606 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.0002515/0.6685, allocations: 193.7 kB / 0.7275 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6686, allocations: 55.34 kB / 0.7275 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.6706, allocations: 1.063 MB / 0.7286 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6706, allocations: 4 kB / 0.7286 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6706, allocations: 8 kB / 0.7286 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.6706, allocations: 3.984 kB / 0.7286 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.6733, allocations: 1.663 MB / 0.7302 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.6733, allocations: 4 kB / 0.7302 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.6739, allocations: 95.88 kB / 0.7303 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.6743, allocations: 136.9 kB / 0.7304 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.6743, allocations: 23.97 kB / 0.7305 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.677, allocations: 2.476 MB / 0.7329 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.677, allocations: 0 / 0.7329 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.6792, allocations: 1.286 MB / 0.7341 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.6795, allocations: 192.3 kB / 0.7343 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.6796, allocations: 15.98 kB / 0.7343 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.68, allocations: 19.98 kB / 0.7344 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.6801, allocations: 48.5 kB / 0.7344 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.6802, allocations: 23.98 kB / 0.7344 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003687/0.6805, allocations: 330.8 kB / 0.7347 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6805, allocations: 0 / 0.7347 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009362/0.6815, allocations: 299.9 kB / 0.735 GB, free: 10.48 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.0006773/0.6822, allocations: 387 kB / 0.7354 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.6839, allocations: 0.9036 MB / 0.7363 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6839, allocations: 0 / 0.7363 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.6849, allocations: 0.6104 MB / 0.7369 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/0.6859, allocations: 216.9 kB / 0.7371 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.6886, allocations: 1.406 MB / 0.7384 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.6892, allocations: 0.8994 MB / 0.7393 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004573/0.6897, allocations: 136.7 kB / 0.7395 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.6899, allocations: 67.39 kB / 0.7395 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.6899, allocations: 0 / 0.7395 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.02333/0.7132, allocations: 14.38 MB / 0.7536 GB, free: 7.441 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile (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) 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) Reference file matches