Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01315/0.01315, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.001119/0.001119, allocations: 84.45 kB / 25.62 MB, free: 6.449 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.001195/0.001195, allocations: 164.9 kB / 29.46 MB, free: 3.039 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.9417/0.9417, allocations: 177.1 MB / 210.3 MB, free: 2.391 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7971/0.7971, allocations: 102.5 MB / 369.8 MB, free: 0.9258 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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) 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_dev_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_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 469.8 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.336e-05, allocations: 7.656 kB / 469.9 MB, free: 12.98 MB / 442.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.1353/0.1353, allocations: 57.94 MB / 0.5154 GB, free: 3.016 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2111/0.3464, allocations: 18.88 MB / 0.5339 GB, free: 68.89 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008561/0.3473, allocations: 36.62 kB / 0.5339 GB, free: 68.88 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.001841/0.3491, allocations: 0.8351 MB / 0.5347 GB, free: 68.5 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.3503, allocations: 0.8207 MB / 0.5355 GB, free: 68 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005548/0.3558, allocations: 2.79 MB / 0.5382 GB, free: 66.58 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.358, allocations: 2.243 MB / 0.5404 GB, free: 65.5 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.3598, allocations: 1.971 MB / 0.5424 GB, free: 64.32 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.3618, allocations: 1.938 MB / 0.5443 GB, free: 63.41 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.3637, allocations: 1.796 MB / 0.546 GB, free: 62.7 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.3648, allocations: 0.5296 MB / 0.5465 GB, free: 62.7 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005709/0.3705, allocations: 3.435 MB / 0.5499 GB, free: 61.69 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001814/0.3724, allocations: 2.385 MB / 0.5522 GB, free: 60.55 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002946/0.3753, allocations: 1.762 MB / 0.5539 GB, free: 59.56 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00988/0.3852, allocations: 8.178 MB / 0.5619 GB, free: 56.27 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3852, allocations: 2.875 kB / 0.5619 GB, free: 56.27 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3852, allocations: 0 / 0.5619 GB, free: 56.27 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001537/0.3853, allocations: 0 / 0.5619 GB, free: 56.27 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.008728/0.3941, allocations: 6.741 MB / 0.5685 GB, free: 51.63 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3941, allocations: 10.81 kB / 0.5685 GB, free: 51.63 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.3956, allocations: 0.6873 MB / 0.5692 GB, free: 51.27 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006284/0.4019, allocations: 6.264 MB / 0.5753 GB, free: 46.28 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.203e-05/0.402, allocations: 150.4 kB / 0.5754 GB, free: 46.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.4022, allocations: 222.6 kB / 0.5757 GB, free: 45.9 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/0.4069, allocations: 9.25 MB / 0.5847 GB, free: 34.49 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.407, allocations: 8.531 kB / 0.5847 GB, free: 34.48 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.4071, allocations: 86.69 kB / 0.5848 GB, free: 34.4 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.471e-05/0.4072, allocations: 182.9 kB / 0.585 GB, free: 34.22 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.4121, allocations: 3.572 MB / 0.5884 GB, free: 30.64 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009417/0.4215, allocations: 9.329 MB / 0.5975 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.4239, allocations: 1.414 MB / 0.5989 GB, free: 19.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.4242, allocations: 199.1 kB / 0.5991 GB, free: 19.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.4243, allocations: 116.8 kB / 0.5992 GB, free: 19.47 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.4243, allocations: 50.39 kB / 0.5993 GB, free: 19.41 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 2.374e-06/0.4243, allocations: 0 / 0.5993 GB, free: 19.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.005877/0.4302, allocations: 3.81 MB / 0.603 GB, free: 15.56 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.4302, allocations: 218.6 kB / 0.6032 GB, free: 15.3 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.4339, allocations: 4.376 MB / 0.6075 GB, free: 10.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4339, allocations: 44.39 kB / 0.6075 GB, free: 10.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.435, allocations: 2.306 MB / 0.6098 GB, free: 8.559 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.4351, allocations: 349.1 kB / 0.6101 GB, free: 8.215 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/0.4356, allocations: 0.5201 MB / 0.6106 GB, free: 7.688 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.4356, allocations: 480.7 kB / 0.6111 GB, free: 7.215 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.4361, allocations: 279.8 kB / 0.6113 GB, free: 6.941 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/0.4369, allocations: 1.304 MB / 0.6126 GB, free: 5.219 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.4381, allocations: 1.471 MB / 0.6141 GB, free: 3.406 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.4381, allocations: 4.625 kB / 0.6141 GB, free: 3.402 MB / 490.8 MB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002185/0.4403, allocations: 1.78 MB / 0.6158 GB, free: 1.629 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4403, allocations: 12 kB / 0.6158 GB, free: 1.617 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.4403, allocations: 20 kB / 0.6158 GB, free: 1.598 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.4404, allocations: 32 kB / 0.6159 GB, free: 1.566 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009238/0.4413, allocations: 0.4979 MB / 0.6163 GB, free: 1.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/0.4413, allocations: 45.03 kB / 0.6164 GB, free: 1.027 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/0.4422, allocations: 97.05 kB / 0.6165 GB, free: 0.9375 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.4424, allocations: 200 kB / 0.6167 GB, free: 0.7422 MB / 490.8 MB 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.0004417/0.4428, allocations: 279.8 kB / 0.6169 GB, free: 468 kB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.4431, allocations: 461.1 kB / 0.6174 GB, free: 4 kB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.4449, allocations: 1.354 MB / 0.6187 GB, free: 14.72 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4449, allocations: 8 kB / 0.6187 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4449, allocations: 4.25 kB / 0.6187 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.4449, allocations: 3.984 kB / 0.6187 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.4487, allocations: 3.315 MB / 0.6219 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4487, allocations: 0 / 0.6219 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.4491, allocations: 206.4 kB / 0.6221 GB, free: 11.15 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4491, allocations: 4 kB / 0.6222 GB, free: 11.15 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.4491, allocations: 35.98 kB / 0.6222 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.4492, allocations: 7.984 kB / 0.6222 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4492, allocations: 0 / 0.6222 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.4507, allocations: 1.337 MB / 0.6235 GB, free: 9.746 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.4514, allocations: 0.6718 MB / 0.6242 GB, free: 9.066 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.4516, allocations: 19.95 kB / 0.6242 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.452, allocations: 39.22 kB / 0.6242 GB, free: 9.012 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4522, allocations: 76.88 kB / 0.6243 GB, free: 8.934 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.4522, allocations: 95.86 kB / 0.6244 GB, free: 8.84 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002602/0.4548, allocations: 2.352 MB / 0.6267 GB, free: 6.504 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9e-08/0.4548, allocations: 0 / 0.6267 GB, free: 6.504 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001456/0.4563, allocations: 0.6789 MB / 0.6273 GB, free: 5.824 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.001701/0.458, allocations: 0.9939 MB / 0.6283 GB, free: 5.297 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.4593, allocations: 0.8979 MB / 0.6292 GB, free: 4.41 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4593, allocations: 0 / 0.6292 GB, free: 4.41 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.4596, allocations: 295.2 kB / 0.6295 GB, free: 4.117 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4608, allocations: 0.5273 MB / 0.63 GB, free: 3.625 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007241/0.468, allocations: 5.676 MB / 0.6355 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.4688, allocations: 0.8626 MB / 0.6364 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001758/0.4705, allocations: 0.9798 MB / 0.6373 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.4712, allocations: 376.1 kB / 0.6377 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/0.4712, allocations: 0 / 0.6377 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.04/0.5112, allocations: 32.08 MB / 0.669 GB, free: 13 MB / 0.5418 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; mkfifo ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe >> ../files/ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.sim & ./ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_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: 5.281238317955285]