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.01214/0.01214, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.006953/0.006953, allocations: 80 kB / 24.44 MB, free: 7.531 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.001481/0.001481, allocations: 163 kB / 28.2 MB, free: 4.668 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.455/1.455, allocations: 177.2 MB / 209 MB, free: 2.801 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.104/1.104, allocations: 102.5 MB / 368.3 MB, free: 1.312 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 0.5.2 (/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 2.094e-06/2.094e-06, allocations: 0 / 468.3 MB, free: 13.53 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.788e-05, allocations: 6.312 kB / 468.3 MB, free: 13.52 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.1946/0.1946, allocations: 55.01 MB / 0.511 GB, free: 6.477 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.273/0.4676, allocations: 17.69 MB / 0.5283 GB, free: 71.02 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.4687, allocations: 33.47 kB / 0.5284 GB, free: 71.01 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.00221/0.4709, allocations: 0.8453 MB / 0.5292 GB, free: 70.74 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.4727, allocations: 0.8098 MB / 0.53 GB, free: 70.38 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006808/0.4795, allocations: 2.785 MB / 0.5327 GB, free: 69.25 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.4825, allocations: 2.25 MB / 0.5349 GB, free: 68.16 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.4847, allocations: 1.976 MB / 0.5368 GB, free: 66.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.4871, allocations: 1.94 MB / 0.5387 GB, free: 66.06 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.4895, allocations: 1.844 MB / 0.5405 GB, free: 65.35 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.4909, allocations: 0.5292 MB / 0.541 GB, free: 65.35 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1398/0.6307, allocations: 26.31 MB / 0.5667 GB, free: 50.34 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00559/0.6363, allocations: 2.378 MB / 0.569 GB, free: 49.22 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004018/0.6403, allocations: 1.767 MB / 0.5708 GB, free: 48.23 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02289/0.6632, allocations: 11.12 MB / 0.5816 GB, free: 40.51 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6632, allocations: 0 / 0.5816 GB, free: 40.51 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6632, allocations: 3.984 kB / 0.5816 GB, free: 40.51 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002515/0.6635, allocations: 2.688 kB / 0.5816 GB, free: 40.51 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.01586/0.6793, allocations: 6.486 MB / 0.588 GB, free: 34.02 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6794, allocations: 10.69 kB / 0.588 GB, free: 34.01 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.6817, allocations: 0.6851 MB / 0.5886 GB, free: 33.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.6942, allocations: 7.466 MB / 0.5959 GB, free: 25.79 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.6944, allocations: 146.4 kB / 0.5961 GB, free: 25.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008626/0.6953, allocations: 216.4 kB / 0.5963 GB, free: 25.43 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.7072, allocations: 10.91 MB / 0.6069 GB, free: 12.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.795e-05/0.7072, allocations: 15.83 kB / 0.607 GB, free: 12.58 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006665/0.7079, allocations: 91.98 kB / 0.607 GB, free: 12.49 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.7081, allocations: 181.6 kB / 0.6072 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.7219, allocations: 10.51 MB / 0.6175 GB, free: 1.797 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/0.7488, allocations: 10.12 MB / 0.6274 GB, free: 7.609 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005484/0.7543, allocations: 1.431 MB / 0.6288 GB, free: 6.164 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008719/0.7551, allocations: 351.2 kB / 0.6291 GB, free: 5.82 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002839/0.7554, allocations: 112.9 kB / 0.6292 GB, free: 5.711 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.7555, allocations: 47.56 kB / 0.6292 GB, free: 5.656 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=92): time 3.126e-06/0.7555, allocations: 0 / 0.6292 GB, free: 5.656 MB / 0.4949 GB Notification: Performance of matching and sorting (n=93): time 0.01711/0.7726, allocations: 4.638 MB / 0.6338 GB, free: 0.9883 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.7728, allocations: 222.6 kB / 0.634 GB, free: 0.7227 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/0.7848, allocations: 5.107 MB / 0.639 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.785, allocations: 41.7 kB / 0.639 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.7878, allocations: 2.017 MB / 0.641 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/0.7883, allocations: 349.1 kB / 0.6413 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/0.7901, allocations: 0.5184 MB / 0.6418 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7902, allocations: 311.7 kB / 0.6421 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.7922, allocations: 0.8744 MB / 0.643 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002952/0.7952, allocations: 1.648 MB / 0.6446 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/0.7993, allocations: 2.081 MB / 0.6466 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-05/0.7993, allocations: 8 kB / 0.6466 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.007287/0.8066, allocations: 2.975 MB / 0.6495 GB, free: 244 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.8067, allocations: 12 kB / 0.6495 GB, free: 232 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.718e-05/0.8067, allocations: 22.69 kB / 0.6496 GB, free: 212 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.402e-05/0.8068, allocations: 31.94 kB / 0.6496 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.809, allocations: 0.5175 MB / 0.6501 GB, free: 15.66 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.715e-05/0.8091, allocations: 39.86 kB / 0.6501 GB, free: 15.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.8117, allocations: 105.3 kB / 0.6502 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000379/0.8121, allocations: 204 kB / 0.6504 GB, free: 15.32 MB / 0.5262 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.002937/0.815, allocations: 1.325 MB / 0.6517 GB, free: 13.99 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/0.8163, allocations: 469 kB / 0.6522 GB, free: 13.53 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/0.821, allocations: 1.71 MB / 0.6538 GB, free: 11.8 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.821, allocations: 12 kB / 0.6539 GB, free: 11.79 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.821, allocations: 2.688 kB / 0.6539 GB, free: 11.79 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.8211, allocations: 3.984 kB / 0.6539 GB, free: 11.79 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008409/0.8295, allocations: 3.094 MB / 0.6569 GB, free: 8.656 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.8295, allocations: 0 / 0.6569 GB, free: 8.656 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008924/0.8304, allocations: 222.4 kB / 0.6571 GB, free: 8.441 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/0.8304, allocations: 4 kB / 0.6571 GB, free: 8.438 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.8305, allocations: 35.98 kB / 0.6571 GB, free: 8.402 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.8305, allocations: 4 kB / 0.6571 GB, free: 8.398 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8305, allocations: 320 / 0.6571 GB, free: 8.398 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004473/0.8349, allocations: 1.86 MB / 0.659 GB, free: 6.523 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/0.8368, allocations: 0.6856 MB / 0.6596 GB, free: 5.832 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007935/0.8376, allocations: 20 kB / 0.6596 GB, free: 5.812 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.839, allocations: 50.64 kB / 0.6597 GB, free: 5.766 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.8392, allocations: 76.88 kB / 0.6598 GB, free: 5.688 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.8393, allocations: 87.91 kB / 0.6598 GB, free: 5.602 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.007945/0.8473, allocations: 3.582 MB / 0.6633 GB, free: 2.035 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.8473, allocations: 0 / 0.6633 GB, free: 2.035 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.003467/0.8508, allocations: 0.6905 MB / 0.664 GB, free: 1.344 MB / 0.5262 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.00325/0.854, allocations: 0.942 MB / 0.6649 GB, free: 0.6211 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.00406/0.8581, allocations: 1.576 MB / 0.6665 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8581, allocations: 3.938 kB / 0.6665 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.8591, allocations: 416.2 kB / 0.6669 GB, free: 14.65 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.8622, allocations: 0.5179 MB / 0.6674 GB, free: 14.14 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.8783, allocations: 6.947 MB / 0.6742 GB, free: 7.168 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004515/0.8828, allocations: 2 MB / 0.6761 GB, free: 5.148 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.004291/0.8871, allocations: 1.1 MB / 0.6772 GB, free: 4.09 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/0.8886, allocations: 370.8 kB / 0.6776 GB, free: 3.73 MB / 0.5418 GB Notification: Performance of SimCode: time 1.854e-06/0.8886, allocations: 0 / 0.6776 GB, free: 3.73 MB / 0.5418 GB Notification: Performance of Templates: time 0.07493/0.9635, allocations: 32.71 MB / 0.7095 GB, free: 3.488 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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 800] 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.36670634697657]