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.001291/0.001291, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001309/0.001309, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.423/1.423, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6027/0.6027, allocations: 90.31 MB / 394.8 MB, free: 3.82 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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=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: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 79.88 kB / 0.5386 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3525, allocations: 70.82 MB / 0.6078 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05178/0.4043, allocations: 47.83 MB / 0.6545 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.419, allocations: 12.58 MB / 0.6668 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004986/0.4195, allocations: 9.625 kB / 0.6668 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008937/0.4204, allocations: 276 kB / 0.6671 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.4219, allocations: 0.5223 MB / 0.6676 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.4239, allocations: 0.7536 MB / 0.6683 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.4249, allocations: 0.8554 MB / 0.6691 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.4251, allocations: 92.41 kB / 0.6692 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03101/0.4562, allocations: 12.54 MB / 0.6815 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.4568, allocations: 394.5 kB / 0.6819 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.23e-05/0.4569, allocations: 52 kB / 0.6819 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1117/0.5686, allocations: 53.13 MB / 0.7338 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.5689, allocations: 139.5 kB / 0.7339 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.5693, allocations: 302.6 kB / 0.7342 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.5715, allocations: 1.051 MB / 0.7352 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5715, allocations: 0 / 0.7352 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5715, allocations: 4 kB / 0.7352 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.5715, allocations: 0 / 0.7352 GB, free: 7.945 MB / 0.5606 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.002128/0.5736, allocations: 1.004 MB / 0.7362 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5736, allocations: 8.031 kB / 0.7362 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.5738, allocations: 68.56 kB / 0.7363 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.5744, allocations: 399.9 kB / 0.7367 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.5745, allocations: 88.95 kB / 0.7368 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.5746, allocations: 52.12 kB / 0.7368 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.5757, allocations: 0.6519 MB / 0.7374 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5758, allocations: 3.953 kB / 0.7375 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.5758, allocations: 16 kB / 0.7375 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.5759, allocations: 20.98 kB / 0.7375 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.5771, allocations: 0.6636 MB / 0.7381 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.581, allocations: 2.44 MB / 0.7405 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.5826, allocations: 0.6484 MB / 0.7412 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/0.5833, allocations: 338.3 kB / 0.7415 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002938/0.5862, allocations: 2.628 MB / 0.744 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.5863, allocations: 47.06 kB / 0.7441 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.294e-06/0.5863, allocations: 0 / 0.7441 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004539/0.5908, allocations: 2.18 MB / 0.7462 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.5909, allocations: 59.91 kB / 0.7463 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.5913, allocations: 349.7 kB / 0.7466 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.5913, allocations: 37.7 kB / 0.7466 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.5915, allocations: 201.1 kB / 0.7468 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.5917, allocations: 234 kB / 0.7471 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.5919, allocations: 106.2 kB / 0.7472 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.5921, allocations: 362.8 kB / 0.7475 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.5926, allocations: 265 kB / 0.7478 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.5932, allocations: 335.7 kB / 0.7481 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5944, allocations: 0.6173 MB / 0.7487 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5944, allocations: 0 / 0.7487 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001717/0.5961, allocations: 0.8311 MB / 0.7495 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5961, allocations: 11.98 kB / 0.7495 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.5961, allocations: 4 kB / 0.7495 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.5966, allocations: 135.8 kB / 0.7496 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.5971, allocations: 115.8 kB / 0.7497 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.6001, allocations: 2.467 MB / 0.7522 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.6005, allocations: 20.03 kB / 0.7522 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.6005, allocations: 31.97 kB / 0.7522 GB, free: 5.398 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.0002699/0.6008, allocations: 193.6 kB / 0.7524 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6009, allocations: 51.67 kB / 0.7524 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.6031, allocations: 1.035 MB / 0.7534 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6031, allocations: 11.98 kB / 0.7535 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6031, allocations: 4 kB / 0.7535 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6031, allocations: 3.984 kB / 0.7535 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.6061, allocations: 1.636 MB / 0.7551 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.6061, allocations: 4 kB / 0.7551 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.6065, allocations: 99.86 kB / 0.7552 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.607, allocations: 140.7 kB / 0.7553 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.607, allocations: 23.98 kB / 0.7553 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.61, allocations: 2.478 MB / 0.7577 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.61, allocations: 0 / 0.7577 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.6123, allocations: 1.279 MB / 0.759 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.6126, allocations: 184.7 kB / 0.7592 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.6126, allocations: 19.94 kB / 0.7592 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.613, allocations: 19.98 kB / 0.7592 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6131, allocations: 44.5 kB / 0.7592 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.6131, allocations: 31.97 kB / 0.7593 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003296/0.6135, allocations: 279.1 kB / 0.7595 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6135, allocations: 0 / 0.7595 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009219/0.6144, allocations: 295.3 kB / 0.7598 GB, free: 13.31 MB / 0.5919 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.0006774/0.6151, allocations: 413.2 kB / 0.7602 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.6168, allocations: 0.8607 MB / 0.7611 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6168, allocations: 4 kB / 0.7611 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6179, allocations: 0.5869 MB / 0.7616 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6189, allocations: 197.3 kB / 0.7618 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.6215, allocations: 1.353 MB / 0.7631 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.6221, allocations: 0.8798 MB / 0.764 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004005/0.6225, allocations: 132.2 kB / 0.7641 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.6226, allocations: 59.41 kB / 0.7642 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.6226, allocations: 0 / 0.7642 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of Templates: time 0.0249/0.6475, allocations: 14.44 MB / 0.7783 GB, free: 10.34 MB / 0.6075 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/jenkins/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: 6.054622257128358]