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.001295/0.001295, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001347/0.001347, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7636/0.7636, allocations: 91.19 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 75.89 kB / 0.5175 GB, free: 4.129 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3649, allocations: 67.69 MB / 0.5836 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04616/0.4111, allocations: 47.36 MB / 0.6299 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.4245, allocations: 12.44 MB / 0.642 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006608/0.4252, allocations: 19.88 kB / 0.642 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.426, allocations: 278.1 kB / 0.6423 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4274, allocations: 0.5397 MB / 0.6428 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.4295, allocations: 0.7352 MB / 0.6435 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.4306, allocations: 0.8948 MB / 0.6444 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.4309, allocations: 169.5 kB / 0.6446 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02757/0.4584, allocations: 12.56 MB / 0.6568 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000833/0.4593, allocations: 394.4 kB / 0.6572 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.4596, allocations: 52 kB / 0.6573 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1049/0.5644, allocations: 53 MB / 0.709 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.5648, allocations: 155.4 kB / 0.7092 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.5652, allocations: 310.3 kB / 0.7095 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.5676, allocations: 1.118 MB / 0.7106 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5676, allocations: 4 kB / 0.7106 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5676, allocations: 3.938 kB / 0.7106 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.5676, allocations: 0 / 0.7106 GB, free: 11.18 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.002095/0.5697, allocations: 1.056 MB / 0.7116 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5698, allocations: 8.031 kB / 0.7116 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.5699, allocations: 68.19 kB / 0.7117 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006913/0.5706, allocations: 497.6 kB / 0.7121 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.5707, allocations: 96.33 kB / 0.7122 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.5708, allocations: 55.84 kB / 0.7123 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.5719, allocations: 0.6537 MB / 0.7129 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5719, allocations: 4 kB / 0.7129 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.572, allocations: 16 kB / 0.7129 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.572, allocations: 20.98 kB / 0.713 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5731, allocations: 0.6675 MB / 0.7136 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.5767, allocations: 2.44 MB / 0.716 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.5783, allocations: 0.7006 MB / 0.7167 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.5789, allocations: 366.4 kB / 0.717 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002591/0.5815, allocations: 2.635 MB / 0.7196 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5816, allocations: 43.06 kB / 0.7196 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.495e-06/0.5816, allocations: 3.938 kB / 0.7196 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.004428/0.586, allocations: 2.198 MB / 0.7218 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.5861, allocations: 107.4 kB / 0.7219 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.5866, allocations: 414 kB / 0.7223 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.5867, allocations: 37.7 kB / 0.7223 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.5868, allocations: 232.9 kB / 0.7225 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.587, allocations: 220.7 kB / 0.7228 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.5872, allocations: 130.1 kB / 0.7229 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5874, allocations: 362.8 kB / 0.7232 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.5879, allocations: 261.1 kB / 0.7235 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.5884, allocations: 345.5 kB / 0.7238 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5895, allocations: 0.6173 MB / 0.7244 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5895, allocations: 0 / 0.7244 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001605/0.5911, allocations: 0.8543 MB / 0.7252 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5912, allocations: 4 kB / 0.7252 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5912, allocations: 4 kB / 0.7253 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/0.5916, allocations: 136.7 kB / 0.7254 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.5921, allocations: 107.9 kB / 0.7255 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.5948, allocations: 2.475 MB / 0.7279 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.5953, allocations: 31.98 kB / 0.7279 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.5953, allocations: 27.92 kB / 0.728 GB, free: 8.145 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.0002814/0.5956, allocations: 189.7 kB / 0.7281 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5957, allocations: 63.23 kB / 0.7282 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.5976, allocations: 1.044 MB / 0.7292 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.5977, allocations: 4 kB / 0.7292 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5977, allocations: 4 kB / 0.7292 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5977, allocations: 7.984 kB / 0.7292 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.6003, allocations: 1.659 MB / 0.7309 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.6004, allocations: 0 / 0.7309 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.6008, allocations: 103.8 kB / 0.731 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.6012, allocations: 134 kB / 0.7311 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.6013, allocations: 19.98 kB / 0.7311 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.604, allocations: 2.48 MB / 0.7335 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.604, allocations: 0 / 0.7335 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.6062, allocations: 1.298 MB / 0.7348 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.6065, allocations: 192.3 kB / 0.735 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6066, allocations: 12 kB / 0.735 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.6069, allocations: 19.98 kB / 0.735 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.607, allocations: 44.5 kB / 0.735 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.6071, allocations: 23.97 kB / 0.7351 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003523/0.6074, allocations: 326.9 kB / 0.7354 GB, free: 272 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6074, allocations: 0 / 0.7354 GB, free: 272 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.2739/0.8813, allocations: 289.6 kB / 0.7357 GB, free: 151.2 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.0008624/0.8822, allocations: 405.9 kB / 0.736 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.8841, allocations: 0.9086 MB / 0.7369 GB, free: 151 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8841, allocations: 1.094 kB / 0.7369 GB, free: 151 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009698/0.8851, allocations: 0.6004 MB / 0.7375 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.8862, allocations: 210.5 kB / 0.7377 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.8886, allocations: 1.438 MB / 0.7391 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.8891, allocations: 0.9011 MB / 0.74 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.8893, allocations: 71.53 kB / 0.7401 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.8893, allocations: 0 / 0.7401 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.0174/0.9067, allocations: 14.55 MB / 0.7543 GB, free: 140.1 MB / 0.5762 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