Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001763/0.001763, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002185/0.002185, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.082/1.082, allocations: 118.6 MB / 378.2 MB, free: 1.457 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 482.9 MB, free: 8.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3e-05, allocations: 2.312 kB / 482.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.07006/0.07009, allocations: 44.39 MB / 0.5149 GB, free: 4.574 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.08588, allocations: 10.12 MB / 0.5248 GB, free: 10.42 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007066/0.08659, allocations: 35.69 kB / 0.5248 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009957/0.08759, allocations: 254 kB / 0.5251 GB, free: 10.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.08963, allocations: 0.6169 MB / 0.5257 GB, free: 9.516 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.09229, allocations: 0.7698 MB / 0.5264 GB, free: 8.742 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.09393, allocations: 1.05 MB / 0.5274 GB, free: 7.688 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.09427, allocations: 90.05 kB / 0.5275 GB, free: 7.598 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03925/0.1335, allocations: 12.74 MB / 0.54 GB, free: 10.75 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008757/0.1344, allocations: 359 kB / 0.5403 GB, free: 10.4 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.1346, allocations: 52 kB / 0.5404 GB, free: 10.35 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1326/0.2672, allocations: 52.66 MB / 0.5918 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.2675, allocations: 159.3 kB / 0.5919 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.268, allocations: 235.4 kB / 0.5922 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.2706, allocations: 1.203 MB / 0.5933 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2706, allocations: 0 / 0.5933 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2706, allocations: 3.938 kB / 0.5933 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.2706, allocations: 0 / 0.5933 GB, free: 3.523 MB / 0.5105 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.002543/0.2732, allocations: 1.045 MB / 0.5944 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2732, allocations: 12.02 kB / 0.5944 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.2736, allocations: 140.4 kB / 0.5945 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/0.2746, allocations: 0.4953 MB / 0.595 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.2747, allocations: 144.3 kB / 0.5951 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.2749, allocations: 52.36 kB / 0.5952 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.2762, allocations: 0.7023 MB / 0.5959 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.2762, allocations: 4 kB / 0.5959 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.2763, allocations: 20 kB / 0.5959 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.2764, allocations: 24.98 kB / 0.5959 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.2777, allocations: 0.6714 MB / 0.5966 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.2819, allocations: 1.888 MB / 0.5984 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.2836, allocations: 0.5914 MB / 0.599 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.2843, allocations: 307.2 kB / 0.5993 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/0.2862, allocations: 352.1 kB / 0.5996 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.2863, allocations: 39.06 kB / 0.5997 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/0.2863, allocations: 0 / 0.5997 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.004937/0.2912, allocations: 1.876 MB / 0.6015 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.2913, allocations: 60.06 kB / 0.6016 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.2918, allocations: 390 kB / 0.6019 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.087e-05/0.2919, allocations: 37.7 kB / 0.602 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.2921, allocations: 257.5 kB / 0.6022 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.2923, allocations: 234 kB / 0.6024 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.2926, allocations: 114.3 kB / 0.6025 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002514/0.2928, allocations: 370.7 kB / 0.6029 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.2933, allocations: 233.2 kB / 0.6031 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.294, allocations: 296.2 kB / 0.6034 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2952, allocations: 0.5642 MB / 0.6039 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2952, allocations: 0 / 0.6039 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002047/0.2973, allocations: 0.8332 MB / 0.6048 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.2973, allocations: 4 kB / 0.6048 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.2973, allocations: 4 kB / 0.6048 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.2979, allocations: 148.8 kB / 0.6049 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/0.2985, allocations: 107.9 kB / 0.605 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.302, allocations: 2.344 MB / 0.6073 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.3024, allocations: 20.02 kB / 0.6073 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.3025, allocations: 23.98 kB / 0.6073 GB, free: 4.785 MB / 0.5261 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.0003637/0.3029, allocations: 193.7 kB / 0.6075 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.3032, allocations: 99.55 kB / 0.6076 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.3055, allocations: 1.012 MB / 0.6086 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.3055, allocations: 7.938 kB / 0.6086 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3055, allocations: 4 kB / 0.6086 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3055, allocations: 3.984 kB / 0.6086 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.3087, allocations: 1.414 MB / 0.61 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.3087, allocations: 0 / 0.61 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.3093, allocations: 99.81 kB / 0.6101 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/0.3098, allocations: 136.9 kB / 0.6102 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.3099, allocations: 27.97 kB / 0.6103 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003478/0.3134, allocations: 2.336 MB / 0.6125 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3134, allocations: 0 / 0.6125 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.3163, allocations: 1.242 MB / 0.6138 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.3166, allocations: 107.6 kB / 0.6139 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/0.3167, allocations: 19.98 kB / 0.6139 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.3171, allocations: 19.98 kB / 0.6139 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3172, allocations: 48.41 kB / 0.6139 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.3173, allocations: 23.98 kB / 0.614 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004555/0.3177, allocations: 310.9 kB / 0.6143 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.3177, allocations: 0 / 0.6143 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001089/0.3188, allocations: 303.3 kB / 0.6145 GB, free: 13.21 MB / 0.5417 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.0008499/0.3197, allocations: 425.6 kB / 0.615 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.3217, allocations: 0.8263 MB / 0.6158 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3217, allocations: 0 / 0.6158 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.3229, allocations: 0.5395 MB / 0.6163 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.3243, allocations: 248.6 kB / 0.6165 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.3274, allocations: 1.329 MB / 0.6178 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3278, allocations: 313.7 kB / 0.6181 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000577/0.3284, allocations: 142.5 kB / 0.6183 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.3286, allocations: 72.45 kB / 0.6183 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/0.3286, allocations: 0 / 0.6183 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of Templates: time 0.02984/0.3585, allocations: 15.34 MB / 0.6333 GB, free: 10.15 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.919607392977923]