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.01686/0.01686, allocations: 1.8 MB / 21.15 MB, free: 3.246 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.001739/0.001739, allocations: 81.08 kB / 24.89 MB, free: 6.824 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.001936/0.001936, allocations: 162.3 kB / 28.74 MB, free: 3.656 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.526/1.526, allocations: 177.2 MB / 209.6 MB, free: 2.363 MB / 186.7 MB " [Timeout remaining time 178] 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 1.141/1.141, allocations: 102.5 MB / 369.1 MB, free: 0.8672 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.543e-06/1.543e-06, allocations: 0 / 469.1 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.153e-05, allocations: 2.312 kB / 469.1 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.188/0.188, allocations: 55.63 MB / 0.5125 GB, free: 5.324 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.3168/0.5048, allocations: 18.81 MB / 0.5308 GB, free: 69.56 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.506, allocations: 31 kB / 0.5309 GB, free: 69.55 MB / 490.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.002302/0.5083, allocations: 0.8501 MB / 0.5317 GB, free: 69.23 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.5101, allocations: 0.8138 MB / 0.5325 GB, free: 68.75 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006343/0.5165, allocations: 2.783 MB / 0.5352 GB, free: 67.33 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.519, allocations: 2.249 MB / 0.5374 GB, free: 66.25 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.521, allocations: 1.98 MB / 0.5393 GB, free: 65.06 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.523, allocations: 1.931 MB / 0.5412 GB, free: 64.16 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.5252, allocations: 1.788 MB / 0.543 GB, free: 63.45 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.5263, allocations: 0.5338 MB / 0.5435 GB, free: 63.45 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009292/0.5356, allocations: 3.442 MB / 0.5469 GB, free: 62.43 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003682/0.5392, allocations: 2.384 MB / 0.5492 GB, free: 61.29 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004366/0.5436, allocations: 1.758 MB / 0.5509 GB, free: 60.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02207/0.5657, allocations: 11.25 MB / 0.5619 GB, free: 55.01 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5657, allocations: 0 / 0.5619 GB, free: 55.01 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5657, allocations: 4.75 kB / 0.5619 GB, free: 55.01 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0003233/0.566, allocations: 0 / 0.5619 GB, free: 55.01 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.02534/0.5914, allocations: 7.08 MB / 0.5688 GB, free: 50.2 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5914, allocations: 10.31 kB / 0.5688 GB, free: 50.2 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.5949, allocations: 0.6817 MB / 0.5695 GB, free: 49.85 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/0.6115, allocations: 6.294 MB / 0.5756 GB, free: 44.74 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.6117, allocations: 144.2 kB / 0.5758 GB, free: 44.59 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009138/0.6126, allocations: 217.1 kB / 0.576 GB, free: 44.38 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009485/0.6221, allocations: 9.521 MB / 0.5853 GB, free: 32.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.6222, allocations: 11.89 kB / 0.5853 GB, free: 32.68 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.6225, allocations: 84 kB / 0.5854 GB, free: 32.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/0.6227, allocations: 182.9 kB / 0.5855 GB, free: 32.42 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.6331, allocations: 6.562 MB / 0.5919 GB, free: 25.86 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/0.6571, allocations: 11.44 MB / 0.6031 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004454/0.6616, allocations: 1.334 MB / 0.6044 GB, free: 12.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.6621, allocations: 320.9 kB / 0.6047 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.6624, allocations: 112.9 kB / 0.6048 GB, free: 12.37 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.6624, allocations: 47.33 kB / 0.6049 GB, free: 12.31 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 3.577e-06/0.6624, allocations: 0 / 0.6049 GB, free: 12.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.01198/0.6744, allocations: 4.383 MB / 0.6092 GB, free: 7.891 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.6745, allocations: 218.6 kB / 0.6094 GB, free: 7.629 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007209/0.6817, allocations: 5.378 MB / 0.6146 GB, free: 2.258 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.6819, allocations: 41.7 kB / 0.6147 GB, free: 2.211 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/0.6839, allocations: 2.552 MB / 0.6172 GB, free: 15.64 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008295/0.6847, allocations: 373.1 kB / 0.6175 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.6859, allocations: 0.5787 MB / 0.6181 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002823/0.6862, allocations: 480.7 kB / 0.6185 GB, free: 14.21 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.6874, allocations: 454.4 kB / 0.619 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.6899, allocations: 1.539 MB / 0.6205 GB, free: 11.81 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.6938, allocations: 1.847 MB / 0.6223 GB, free: 9.629 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-05/0.6938, allocations: 8 kB / 0.6223 GB, free: 9.621 MB / 0.4949 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.008535/0.7024, allocations: 2.12 MB / 0.6243 GB, free: 7.508 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.7024, allocations: 16 kB / 0.6244 GB, free: 7.492 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/0.7025, allocations: 20 kB / 0.6244 GB, free: 7.473 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.452e-05/0.7025, allocations: 31.94 kB / 0.6244 GB, free: 7.441 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/0.7057, allocations: 0.5018 MB / 0.6249 GB, free: 6.941 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.176e-05/0.7058, allocations: 39.86 kB / 0.6249 GB, free: 6.902 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004399/0.7102, allocations: 105.7 kB / 0.625 GB, free: 6.805 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005983/0.7108, allocations: 200 kB / 0.6252 GB, free: 6.609 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.002574/0.7134, allocations: 391.8 kB / 0.6256 GB, free: 6.215 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/0.7151, allocations: 465 kB / 0.626 GB, free: 5.758 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006392/0.7215, allocations: 1.566 MB / 0.6276 GB, free: 4.262 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.7216, allocations: 8 kB / 0.6276 GB, free: 4.254 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7216, allocations: 0 / 0.6276 GB, free: 4.254 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.7216, allocations: 7.984 kB / 0.6276 GB, free: 4.246 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.739, allocations: 4.269 MB / 0.6318 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.739, allocations: 0.6875 kB / 0.6318 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.7402, allocations: 213.3 kB / 0.632 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/0.7403, allocations: 5.266 kB / 0.632 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.7404, allocations: 35.98 kB / 0.632 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.507e-05/0.7404, allocations: 7.031 kB / 0.632 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.7404, allocations: 0 / 0.632 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006306/0.7467, allocations: 1.759 MB / 0.6337 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00367/0.7504, allocations: 0.6699 MB / 0.6344 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/0.752, allocations: 16 kB / 0.6344 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/0.7546, allocations: 35.97 kB / 0.6344 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/0.7549, allocations: 83.5 kB / 0.6345 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/0.7551, allocations: 87.92 kB / 0.6346 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01186/0.7669, allocations: 2.801 MB / 0.6373 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7669, allocations: 0 / 0.6373 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006571/0.7735, allocations: 0.6827 MB / 0.638 GB, free: 9.539 MB / 0.5105 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.005335/0.7789, allocations: 0.94 MB / 0.6389 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005433/0.7843, allocations: 1.231 MB / 0.6401 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.7843, allocations: 3.938 kB / 0.6401 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.7857, allocations: 433.8 kB / 0.6405 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/0.7891, allocations: 0.5306 MB / 0.6411 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.8063, allocations: 5.873 MB / 0.6468 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/0.8099, allocations: 1.891 MB / 0.6486 GB, free: 15.07 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.003924/0.8138, allocations: 0.9748 MB / 0.6496 GB, free: 14.26 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.8152, allocations: 382.7 kB / 0.65 GB, free: 13.89 MB / 0.5262 GB Notification: Performance of SimCode: time 2.956e-06/0.8152, allocations: 0 / 0.65 GB, free: 13.89 MB / 0.5262 GB Notification: Performance of Templates: time 0.07616/0.8913, allocations: 31.94 MB / 0.6811 GB, free: 15 MB / 0.5574 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 8.450905399979092]