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.008403/0.008403, allocations: 1.788 MB / 21.65 MB, free: 2.816 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.0007232/0.0007232, allocations: 81.33 kB / 25.48 MB, free: 6.879 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.0008773/0.0008773, allocations: 163.5 kB / 28.89 MB, free: 3.512 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.8846/0.8846, allocations: 177.2 MB / 209.3 MB, free: 2.199 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.6992/0.6992, allocations: 102.5 MB / 368.3 MB, free: 0.7656 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 2.164e-06/2.164e-06, allocations: 4 kB / 415.1 MB, free: 2.195 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.634e-05, allocations: 5.406 kB / 415.1 MB, free: 2.191 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.1257/0.1257, allocations: 63.72 MB / 478.8 MB, free: 2.523 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0177/0.1434, allocations: 19.04 MB / 497.9 MB, free: 15.42 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.1439, allocations: 27.88 kB / 497.9 MB, free: 15.39 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.001526/0.1454, allocations: 0.8664 MB / 498.8 MB, free: 14.52 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1465, allocations: 0.8114 MB / 499.6 MB, free: 13.7 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.1508, allocations: 2.76 MB / 0.4906 GB, free: 10.93 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.1526, allocations: 2.246 MB / 0.4928 GB, free: 8.676 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.1539, allocations: 1.996 MB / 0.4947 GB, free: 6.594 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2884/0.4423, allocations: 54.53 MB / 0.548 GB, free: 49.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.444, allocations: 1.74 MB / 0.5497 GB, free: 49.68 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006851/0.4447, allocations: 494.6 kB / 0.5501 GB, free: 49.68 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.4486, allocations: 3.315 MB / 0.5534 GB, free: 49.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000987/0.4496, allocations: 2.23 MB / 0.5555 GB, free: 49.37 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.451, allocations: 1.646 MB / 0.5571 GB, free: 49.08 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00573/0.4567, allocations: 7.892 MB / 0.5649 GB, free: 44.09 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4567, allocations: 7.984 kB / 0.5649 GB, free: 44.08 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.113e-06/0.4567, allocations: 0 / 0.5649 GB, free: 44.08 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.968e-05/0.4568, allocations: 0 / 0.5649 GB, free: 44.08 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.004528/0.4613, allocations: 5.906 MB / 0.5706 GB, free: 38.8 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.4613, allocations: 8.031 kB / 0.5706 GB, free: 38.79 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004839/0.4618, allocations: 414.8 kB / 0.571 GB, free: 38.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.4648, allocations: 3.292 MB / 0.5742 GB, free: 35.13 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.4648, allocations: 152.2 kB / 0.5744 GB, free: 34.98 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.4651, allocations: 215.4 kB / 0.5746 GB, free: 34.77 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.4693, allocations: 8.589 MB / 0.583 GB, free: 24.46 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.4693, allocations: 7.328 kB / 0.583 GB, free: 24.45 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.4695, allocations: 90.67 kB / 0.5831 GB, free: 24.37 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-05/0.4696, allocations: 186.9 kB / 0.5833 GB, free: 24.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/0.4735, allocations: 2.735 MB / 0.5859 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007183/0.4807, allocations: 6.94 MB / 0.5927 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.4828, allocations: 1.241 MB / 0.5939 GB, free: 13.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.4829, allocations: 132.7 kB / 0.594 GB, free: 13.32 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.483, allocations: 120.2 kB / 0.5942 GB, free: 13.21 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4831, allocations: 76.56 kB / 0.5942 GB, free: 13.12 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 2.104e-06/0.4831, allocations: 0 / 0.5942 GB, free: 13.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.004949/0.488, allocations: 2.252 MB / 0.5964 GB, free: 10.91 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002548/0.4883, allocations: 2.634 MB / 0.599 GB, free: 7.637 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.4907, allocations: 3.505 MB / 0.6024 GB, free: 4.785 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.4908, allocations: 61.7 kB / 0.6025 GB, free: 4.719 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.4913, allocations: 1.217 MB / 0.6037 GB, free: 3.676 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4914, allocations: 348 kB / 0.604 GB, free: 3.355 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000483/0.4919, allocations: 0.5227 MB / 0.6045 GB, free: 2.867 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 2.278e-05/0.4919, allocations: 303.8 kB / 0.6048 GB, free: 2.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.4922, allocations: 194.7 kB / 0.605 GB, free: 2.379 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.4935, allocations: 3.952 MB / 0.6088 GB, free: 13.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009942/0.4945, allocations: 1.183 MB / 0.61 GB, free: 11.97 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.4945, allocations: 10.22 kB / 0.61 GB, free: 11.96 MB / 0.4949 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.001539/0.496, allocations: 1.231 MB / 0.6112 GB, free: 10.84 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.496, allocations: 12 kB / 0.6112 GB, free: 10.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.4961, allocations: 20 kB / 0.6112 GB, free: 10.81 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.4961, allocations: 34.66 kB / 0.6113 GB, free: 10.78 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.4972, allocations: 0.5039 MB / 0.6118 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.4972, allocations: 46.48 kB / 0.6118 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.4983, allocations: 107.5 kB / 0.6119 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.4985, allocations: 162.6 kB / 0.6121 GB, free: 10.01 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.0005374/0.4991, allocations: 291.3 kB / 0.6124 GB, free: 9.738 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.4994, allocations: 275.6 kB / 0.6126 GB, free: 9.469 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.5008, allocations: 1.093 MB / 0.6137 GB, free: 8.375 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5008, allocations: 12 kB / 0.6137 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.5008, allocations: 0 / 0.6137 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.5008, allocations: 3.984 kB / 0.6137 GB, free: 8.359 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.5037, allocations: 2.557 MB / 0.6162 GB, free: 6.047 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5038, allocations: 4 kB / 0.6162 GB, free: 6.043 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.5042, allocations: 214.5 kB / 0.6164 GB, free: 5.84 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5042, allocations: 2.656 kB / 0.6164 GB, free: 5.84 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.5043, allocations: 27.98 kB / 0.6164 GB, free: 5.812 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5043, allocations: 4 kB / 0.6164 GB, free: 5.809 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5043, allocations: 0 / 0.6164 GB, free: 5.809 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.5052, allocations: 0.8527 MB / 0.6173 GB, free: 4.957 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.5062, allocations: 0.6891 MB / 0.6179 GB, free: 4.258 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.5065, allocations: 39.94 kB / 0.618 GB, free: 4.219 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.5072, allocations: 61.22 kB / 0.618 GB, free: 4.156 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5073, allocations: 68.91 kB / 0.6181 GB, free: 4.09 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.5074, allocations: 74.67 kB / 0.6182 GB, free: 4.02 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001738/0.5091, allocations: 1.995 MB / 0.6201 GB, free: 2.246 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8e-08/0.5091, allocations: 0 / 0.6201 GB, free: 2.246 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001461/0.5106, allocations: 0.8704 MB / 0.621 GB, free: 1.375 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.001581/0.5122, allocations: 0.9948 MB / 0.6219 GB, free: 0.6094 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0009413/0.5131, allocations: 0.7453 MB / 0.6227 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.058e-05/0.5132, allocations: 68.84 kB / 0.6227 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.5134, allocations: 224.5 kB / 0.623 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.5147, allocations: 0.5601 MB / 0.6235 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/0.5212, allocations: 5.72 MB / 0.6291 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.5219, allocations: 0.8625 MB / 0.6299 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001762/0.5236, allocations: 0.8593 MB / 0.6308 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/0.5255, allocations: 1.017 MB / 0.6318 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.5255, allocations: 0 / 0.6318 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of Templates: time 0.05827/0.5838, allocations: 56.29 MB / 0.6867 GB, free: 15.23 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 -s gbode -gbm=radauIIA3 -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.822632908821106]