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.01732/0.01732, allocations: 1.796 MB / 21.15 MB, free: 3.242 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.00187/0.00187, allocations: 76.19 kB / 24.88 MB, free: 6.805 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.001935/0.001935, allocations: 165.5 kB / 28.74 MB, free: 3.641 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.584/1.584, allocations: 177.2 MB / 209.6 MB, free: 2.367 MB / 186.7 MB " [Timeout remaining time 178] 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 1.159/1.159, allocations: 102.5 MB / 369.1 MB, free: 0.8438 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.425e-06/2.425e-06, allocations: 0 / 469.1 MB, free: 12.96 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.718e-05, allocations: 3.719 kB / 469.1 MB, free: 12.95 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.1922/0.1923, allocations: 55.63 MB / 0.5125 GB, free: 5.332 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2853/0.4776, allocations: 18.81 MB / 0.5308 GB, free: 69.61 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.4791, allocations: 31.91 kB / 0.5309 GB, free: 69.6 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.002615/0.4817, allocations: 0.8426 MB / 0.5317 GB, free: 69.24 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.484, allocations: 0.8102 MB / 0.5325 GB, free: 68.76 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006664/0.4907, allocations: 2.788 MB / 0.5352 GB, free: 67.33 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.4934, allocations: 2.255 MB / 0.5374 GB, free: 66.25 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.4958, allocations: 1.974 MB / 0.5393 GB, free: 65.07 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.4988, allocations: 1.941 MB / 0.5412 GB, free: 64.15 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.5012, allocations: 1.794 MB / 0.543 GB, free: 63.44 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.5022, allocations: 0.529 MB / 0.5435 GB, free: 63.44 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007856/0.51, allocations: 3.442 MB / 0.5468 GB, free: 62.42 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003308/0.5134, allocations: 2.378 MB / 0.5492 GB, free: 61.29 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004762/0.5181, allocations: 1.766 MB / 0.5509 GB, free: 60.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01998/0.5381, allocations: 11.24 MB / 0.5619 GB, free: 55.04 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5381, allocations: 0 / 0.5619 GB, free: 55.04 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5381, allocations: 1.531 kB / 0.5619 GB, free: 55.04 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.000231/0.5383, allocations: 0.5625 kB / 0.5619 GB, free: 55.04 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.01749/0.5558, allocations: 7.092 MB / 0.5688 GB, free: 50.23 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5559, allocations: 6.625 kB / 0.5688 GB, free: 50.23 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/0.5583, allocations: 0.6793 MB / 0.5695 GB, free: 49.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.5714, allocations: 6.287 MB / 0.5756 GB, free: 44.85 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.5716, allocations: 150.4 kB / 0.5758 GB, free: 44.69 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/0.572, allocations: 219 kB / 0.576 GB, free: 44.48 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007916/0.58, allocations: 9.506 MB / 0.5852 GB, free: 32.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.58, allocations: 15.83 kB / 0.5853 GB, free: 32.79 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.5802, allocations: 94.38 kB / 0.5854 GB, free: 32.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.5804, allocations: 174.9 kB / 0.5855 GB, free: 32.53 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009305/0.5897, allocations: 6.565 MB / 0.5919 GB, free: 25.96 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.608, allocations: 11.43 MB / 0.6031 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.6119, allocations: 1.346 MB / 0.6044 GB, free: 12.9 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.6124, allocations: 314.2 kB / 0.6047 GB, free: 12.59 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.6126, allocations: 116.9 kB / 0.6048 GB, free: 12.47 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.6126, allocations: 46.39 kB / 0.6049 GB, free: 12.42 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 3.156e-06/0.6127, allocations: 1.781 kB / 0.6049 GB, free: 12.42 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.01047/0.6231, allocations: 4.383 MB / 0.6091 GB, free: 8 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.6232, allocations: 226.5 kB / 0.6094 GB, free: 7.73 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006207/0.6294, allocations: 5.376 MB / 0.6146 GB, free: 2.359 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/0.6295, allocations: 41.7 kB / 0.6146 GB, free: 2.312 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001817/0.6313, allocations: 2.552 MB / 0.6171 GB, free: 15.74 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/0.6317, allocations: 369.1 kB / 0.6175 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.6328, allocations: 0.5787 MB / 0.6181 GB, free: 14.79 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002912/0.6331, allocations: 484.5 kB / 0.6185 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.6344, allocations: 454.4 kB / 0.6189 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.6368, allocations: 1.535 MB / 0.6204 GB, free: 11.92 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/0.6402, allocations: 1.845 MB / 0.6223 GB, free: 9.738 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.6402, allocations: 4 kB / 0.6223 GB, free: 9.734 MB / 0.4949 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005127/0.6453, allocations: 2.12 MB / 0.6243 GB, free: 7.621 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.6454, allocations: 18.44 kB / 0.6243 GB, free: 7.605 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.6454, allocations: 20 kB / 0.6244 GB, free: 7.586 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.13e-05/0.6455, allocations: 34.66 kB / 0.6244 GB, free: 7.555 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.6476, allocations: 0.501 MB / 0.6249 GB, free: 7.055 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.171e-05/0.6476, allocations: 39.86 kB / 0.6249 GB, free: 7.016 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.65, allocations: 97.12 kB / 0.625 GB, free: 6.926 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/0.6503, allocations: 203.9 kB / 0.6252 GB, free: 6.727 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.001399/0.6517, allocations: 398.5 kB / 0.6256 GB, free: 6.328 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007597/0.6524, allocations: 461 kB / 0.626 GB, free: 5.875 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.6562, allocations: 1.566 MB / 0.6276 GB, free: 4.379 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6562, allocations: 8 kB / 0.6276 GB, free: 4.371 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6562, allocations: 0 / 0.6276 GB, free: 4.371 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6562, allocations: 3.984 kB / 0.6276 GB, free: 4.367 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008386/0.6646, allocations: 4.282 MB / 0.6318 GB, free: 44 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6646, allocations: 0 / 0.6318 GB, free: 44 kB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008707/0.6654, allocations: 206.4 kB / 0.6319 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.6655, allocations: 4 kB / 0.632 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/0.6655, allocations: 35.98 kB / 0.632 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.6655, allocations: 4.688 kB / 0.632 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6656, allocations: 0 / 0.632 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/0.6692, allocations: 1.763 MB / 0.6337 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/0.671, allocations: 0.6734 MB / 0.6344 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/0.6714, allocations: 14.66 kB / 0.6344 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009661/0.6723, allocations: 38.28 kB / 0.6344 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.6726, allocations: 84.81 kB / 0.6345 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.6727, allocations: 86.61 kB / 0.6346 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005515/0.6782, allocations: 2.801 MB / 0.6373 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.6782, allocations: 0 / 0.6373 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002517/0.6807, allocations: 0.6788 MB / 0.638 GB, free: 9.656 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.006646/0.6874, allocations: 0.9495 MB / 0.6389 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003274/0.6906, allocations: 1.234 MB / 0.6401 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.6907, allocations: 0 / 0.6401 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.6916, allocations: 433.9 kB / 0.6405 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/0.6941, allocations: 0.5251 MB / 0.641 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.7074, allocations: 5.865 MB / 0.6468 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003637/0.7111, allocations: 1.891 MB / 0.6486 GB, free: 15.2 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.003844/0.7149, allocations: 0.9739 MB / 0.6496 GB, free: 14.39 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/0.7161, allocations: 374.9 kB / 0.6499 GB, free: 14.03 MB / 0.5262 GB Notification: Performance of SimCode: time 1.974e-06/0.7161, allocations: 0 / 0.6499 GB, free: 14.03 MB / 0.5262 GB Notification: Performance of Templates: time 0.09189/0.808, allocations: 31.96 MB / 0.6811 GB, free: 15.12 MB / 0.5574 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_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.671125660068356]