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.001483/0.001483, allocations: 104.1 kB / 16.27 MB, free: 6.414 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.001544/0.001544, allocations: 191 kB / 17.2 MB, free: 5.953 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.249/1.249, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.654/0.654, allocations: 91.19 MB / 382.2 MB, free: 7.582 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 79.88 kB / 461 MB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1211, allocations: 67.68 MB / 0.5163 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2425/0.3637, allocations: 47.34 MB / 0.5625 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.3753, allocations: 12.44 MB / 0.5747 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006983/0.376, allocations: 20.31 kB / 0.5747 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008624/0.3769, allocations: 273.1 kB / 0.5749 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.3787, allocations: 0.5308 MB / 0.5755 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.381, allocations: 0.7477 MB / 0.5762 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.3822, allocations: 0.8928 MB / 0.5771 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.3826, allocations: 174.1 kB / 0.5772 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03316/0.4157, allocations: 12.54 MB / 0.5895 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.4165, allocations: 393 kB / 0.5898 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.4167, allocations: 52.25 kB / 0.5899 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1288/0.5455, allocations: 53 MB / 0.6417 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.5458, allocations: 143.5 kB / 0.6418 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.5464, allocations: 326.3 kB / 0.6421 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.549, allocations: 1.099 MB / 0.6432 GB, free: 1.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.549, allocations: 3.984 kB / 0.6432 GB, free: 1.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.549, allocations: 4 kB / 0.6432 GB, free: 1.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.549, allocations: 0 / 0.6432 GB, free: 1.93 MB / 494.1 MB 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.002263/0.5513, allocations: 1.052 MB / 0.6442 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5513, allocations: 8.031 kB / 0.6442 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.5515, allocations: 72.84 kB / 0.6443 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.5522, allocations: 475.3 kB / 0.6447 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.722e-05/0.5523, allocations: 100.3 kB / 0.6448 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.5524, allocations: 48 kB / 0.6449 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.5535, allocations: 0.648 MB / 0.6455 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.5535, allocations: 0 / 0.6455 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.5536, allocations: 20 kB / 0.6455 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.5536, allocations: 24.98 kB / 0.6456 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5547, allocations: 0.6597 MB / 0.6462 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/0.5583, allocations: 2.474 MB / 0.6486 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.5598, allocations: 0.6936 MB / 0.6493 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.5605, allocations: 366.4 kB / 0.6496 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002349/0.5628, allocations: 2.631 MB / 0.6522 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.5629, allocations: 43.06 kB / 0.6523 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 2.956e-06/0.5629, allocations: 0 / 0.6523 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65): time 0.004088/0.567, allocations: 2.195 MB / 0.6544 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.567, allocations: 55.97 kB / 0.6545 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.5675, allocations: 417.9 kB / 0.6549 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.5675, allocations: 37.7 kB / 0.6549 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.5677, allocations: 236.9 kB / 0.6551 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.5678, allocations: 216.8 kB / 0.6553 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.568, allocations: 114.2 kB / 0.6554 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5681, allocations: 370.8 kB / 0.6558 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.5686, allocations: 261.1 kB / 0.656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.5691, allocations: 339.6 kB / 0.6564 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.5702, allocations: 0.6134 MB / 0.657 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.5702, allocations: 0 / 0.657 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001536/0.5718, allocations: 0.8541 MB / 0.6578 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5718, allocations: 7.938 kB / 0.6578 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.5718, allocations: 5.312 kB / 0.6578 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/0.5722, allocations: 136.8 kB / 0.6579 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.5727, allocations: 107.9 kB / 0.658 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.5753, allocations: 2.469 MB / 0.6604 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.5757, allocations: 23.92 kB / 0.6605 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.5758, allocations: 31.92 kB / 0.6605 GB, free: 15.02 MB / 0.5137 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.000246/0.576, allocations: 189.8 kB / 0.6607 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5761, allocations: 55.25 kB / 0.6607 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.578, allocations: 1.062 MB / 0.6618 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5781, allocations: 4 kB / 0.6618 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5781, allocations: 4.5 kB / 0.6618 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5781, allocations: 5.156 kB / 0.6618 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.5807, allocations: 1.655 MB / 0.6634 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.5807, allocations: 17.33 kB / 0.6634 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.5812, allocations: 95.88 kB / 0.6635 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/0.5816, allocations: 145 kB / 0.6636 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.5816, allocations: 19.98 kB / 0.6637 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.5841, allocations: 2.468 MB / 0.6661 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5842, allocations: 3.938 kB / 0.6661 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.5863, allocations: 1.29 MB / 0.6673 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.5865, allocations: 196.2 kB / 0.6675 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.5866, allocations: 19.98 kB / 0.6675 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.587, allocations: 15.98 kB / 0.6676 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.5871, allocations: 44.5 kB / 0.6676 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.5871, allocations: 19.98 kB / 0.6676 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000345/0.5875, allocations: 330.9 kB / 0.6679 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5875, allocations: 0 / 0.6679 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008786/0.5884, allocations: 299.9 kB / 0.6682 GB, free: 6.852 MB / 0.5137 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.0006357/0.589, allocations: 408.5 kB / 0.6686 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.5909, allocations: 0.9895 MB / 0.6696 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5909, allocations: 0 / 0.6696 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.5919, allocations: 0.6027 MB / 0.6702 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009812/0.5928, allocations: 202.5 kB / 0.6704 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.5954, allocations: 1.454 MB / 0.6718 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.5958, allocations: 0.8995 MB / 0.6727 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.596, allocations: 67.39 kB / 0.6727 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.596, allocations: 3.938 kB / 0.6727 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of Templates: time 0.01968/0.6157, allocations: 14.47 MB / 0.6869 GB, free: 3.926 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches