Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008441/0.008441, allocations: 1.784 MB / 21.64 MB, free: 2.82 MB / 18.57 MB " [Timeout remaining time 180] 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.0006904/0.0006904, allocations: 86.11 kB / 25.49 MB, free: 6.422 MB / 18.57 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.0008187/0.0008187, allocations: 168.4 kB / 28.9 MB, free: 3.383 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 0.8441/0.8441, allocations: 177.2 MB / 209.3 MB, free: 2.227 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6969/0.6969, allocations: 102.5 MB / 368.3 MB, free: 0.7344 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 415.1 MB, free: 2.227 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.139e-05, allocations: 2.312 kB / 415.1 MB, free: 2.223 MB / 378.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity): time 0.1065/0.1065, allocations: 63.67 MB / 478.7 MB, free: 2.598 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.1225, allocations: 19.03 MB / 497.8 MB, free: 15.5 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.123, allocations: 31.88 kB / 497.8 MB, free: 15.47 MB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.001454/0.1245, allocations: 0.8703 MB / 498.7 MB, free: 14.59 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.1257, allocations: 0.8075 MB / 499.5 MB, free: 13.78 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00389/0.1296, allocations: 2.803 MB / 0.4905 GB, free: 10.96 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.131, allocations: 2.234 MB / 0.4927 GB, free: 8.723 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.1322, allocations: 1.996 MB / 0.4946 GB, free: 6.641 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2839/0.4162, allocations: 54.57 MB / 0.5479 GB, free: 49.72 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.4179, allocations: 1.739 MB / 0.5496 GB, free: 49.72 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006899/0.4186, allocations: 495.3 kB / 0.5501 GB, free: 49.72 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.4224, allocations: 3.258 MB / 0.5533 GB, free: 49.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009834/0.4234, allocations: 2.234 MB / 0.5555 GB, free: 49.41 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.4246, allocations: 1.641 MB / 0.5571 GB, free: 49.2 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.4301, allocations: 7.894 MB / 0.5648 GB, free: 44.19 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4301, allocations: 0 / 0.5648 GB, free: 44.19 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4301, allocations: 2.656 kB / 0.5648 GB, free: 44.19 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.345e-05/0.4301, allocations: 0 / 0.5648 GB, free: 44.19 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 411 * Number of variables: 411 Notification: Performance of Generate backend data structure: time 0.004873/0.435, allocations: 5.918 MB / 0.5706 GB, free: 38.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.435, allocations: 8.031 kB / 0.5706 GB, free: 38.87 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/0.4356, allocations: 408.5 kB / 0.5709 GB, free: 38.47 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.4385, allocations: 3.297 MB / 0.5742 GB, free: 35.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/0.4386, allocations: 144.9 kB / 0.5743 GB, free: 35.06 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.4388, allocations: 221.1 kB / 0.5745 GB, free: 34.85 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.4426, allocations: 8.592 MB / 0.5829 GB, free: 24.54 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.4426, allocations: 0 / 0.5829 GB, free: 24.54 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.4428, allocations: 102.4 kB / 0.583 GB, free: 24.45 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.4429, allocations: 178.9 kB / 0.5832 GB, free: 24.27 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.4464, allocations: 2.735 MB / 0.5858 GB, free: 21.56 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006708/0.4531, allocations: 6.934 MB / 0.5926 GB, free: 14.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.4551, allocations: 1.242 MB / 0.5938 GB, free: 13.54 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.4552, allocations: 132.7 kB / 0.594 GB, free: 13.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4553, allocations: 120.8 kB / 0.5941 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4553, allocations: 72.56 kB / 0.5941 GB, free: 13.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 2.525e-06/0.4553, allocations: 2.625 kB / 0.5941 GB, free: 13.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.004137/0.4595, allocations: 2.25 MB / 0.5963 GB, free: 10.99 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002353/0.4597, allocations: 2.634 MB / 0.5989 GB, free: 7.719 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.462, allocations: 3.503 MB / 0.6023 GB, free: 4.867 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.4621, allocations: 64.33 kB / 0.6024 GB, free: 4.801 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.4625, allocations: 1.22 MB / 0.6036 GB, free: 3.758 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4626, allocations: 354.2 kB / 0.6039 GB, free: 3.43 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000467/0.4631, allocations: 0.5114 MB / 0.6044 GB, free: 2.953 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 2.142e-05/0.4631, allocations: 305.1 kB / 0.6047 GB, free: 2.652 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.4634, allocations: 194.7 kB / 0.6049 GB, free: 2.461 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.4647, allocations: 3.96 MB / 0.6088 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009871/0.4657, allocations: 1.178 MB / 0.6099 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4657, allocations: 11.94 kB / 0.6099 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.001428/0.4671, allocations: 1.235 MB / 0.6111 GB, free: 10.92 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4671, allocations: 12 kB / 0.6111 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.4671, allocations: 20 kB / 0.6112 GB, free: 10.89 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.4672, allocations: 32 kB / 0.6112 GB, free: 10.86 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.468, allocations: 466.1 kB / 0.6116 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.4681, allocations: 39.67 kB / 0.6117 GB, free: 10.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.4691, allocations: 107.6 kB / 0.6118 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.4692, allocations: 164 kB / 0.6119 GB, free: 10.14 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * 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 (238): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005104/0.4698, allocations: 287.3 kB / 0.6122 GB, free: 9.879 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.4701, allocations: 283.6 kB / 0.6125 GB, free: 9.602 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.4714, allocations: 1.076 MB / 0.6135 GB, free: 8.512 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.4714, allocations: 11.98 kB / 0.6135 GB, free: 8.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.4714, allocations: 0 / 0.6135 GB, free: 8.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4714, allocations: 6.641 kB / 0.6136 GB, free: 8.496 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.4741, allocations: 2.559 MB / 0.6161 GB, free: 6.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4741, allocations: 0 / 0.6161 GB, free: 6.18 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.4745, allocations: 184.9 kB / 0.6162 GB, free: 6.012 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4745, allocations: 4 kB / 0.6162 GB, free: 6.008 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.4745, allocations: 27.97 kB / 0.6163 GB, free: 5.98 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.4745, allocations: 4 kB / 0.6163 GB, free: 5.977 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4745, allocations: 0 / 0.6163 GB, free: 5.977 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.4754, allocations: 0.848 MB / 0.6171 GB, free: 5.125 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/0.4762, allocations: 0.6852 MB / 0.6178 GB, free: 4.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.4765, allocations: 43.75 kB / 0.6178 GB, free: 4.391 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.4771, allocations: 61.2 kB / 0.6179 GB, free: 4.328 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.4772, allocations: 64.88 kB / 0.6179 GB, free: 4.266 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/0.4773, allocations: 74.61 kB / 0.618 GB, free: 4.195 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00172/0.479, allocations: 1.995 MB / 0.6199 GB, free: 2.422 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8e-08/0.479, allocations: 0 / 0.6199 GB, free: 2.422 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00146/0.4805, allocations: 0.8742 MB / 0.6208 GB, free: 1.547 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (GasFanAdvanced.kappaA,GasFanAdvanced.kappaB,speed1.phi) * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/0.482, allocations: 1.004 MB / 0.6218 GB, free: 0.7617 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0008886/0.4829, allocations: 0.7448 MB / 0.6225 GB, free: 112 kB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.295e-05/0.4829, allocations: 64.84 kB / 0.6226 GB, free: 48 kB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.4831, allocations: 222 kB / 0.6228 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.4843, allocations: 0.5616 MB / 0.6233 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006051/0.4904, allocations: 5.726 MB / 0.6289 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.491, allocations: 0.8586 MB / 0.6298 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001678/0.4927, allocations: 0.8669 MB / 0.6306 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/0.4946, allocations: 1.02 MB / 0.6316 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.4946, allocations: 0 / 0.6316 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of Templates: time 0.05733/0.552, allocations: 56.26 MB / 0.6865 GB, free: 15.41 MB / 0.573 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; mkfifo ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe >> ../files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.sim & ./ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 4.857298972085118]