Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.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.02058/0.02058, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0008554/0.0008554, allocations: 80.31 kB / 26.19 MB, free: 6.078 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.0009225/0.0009225, allocations: 168.6 kB / 30.12 MB, free: 2.184 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.9166/0.9166, allocations: 177.2 MB / 211.1 MB, free: 3.473 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.5896/0.5896, allocations: 102.5 MB / 370.7 MB, free: 236 kB / 330.7 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_simple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|simpleFan.kappaA|simpleFan.kappaB|simpleFan1.kappaA|simpleFan1.kappaB|simpleFan2.kappaA|simpleFan2.kappaB",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple") translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|simpleFan.kappaA|simpleFan.kappaB|simpleFan1.kappaA|simpleFan1.kappaB|simpleFan2.kappaA|simpleFan2.kappaB",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 471.2 MB, free: 18.89 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.804e-05, allocations: 3.984 kB / 471.2 MB, free: 18.89 MB / 410.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_simple): time 0.1102/0.1102, allocations: 63.59 MB / 0.5223 GB, free: 8.059 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.1314, allocations: 21.13 MB / 0.5429 GB, free: 2.863 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.1331, allocations: 67.69 kB / 0.543 GB, free: 2.797 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.1355, allocations: 1.523 MB / 0.5445 GB, free: 1.266 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.1375, allocations: 1.378 MB / 0.5458 GB, free: 15.88 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006655/0.1442, allocations: 4.027 MB / 0.5498 GB, free: 11.84 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.005199/0.1494, allocations: 5.536 MB / 0.5552 GB, free: 6.293 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004508/0.1539, allocations: 5.423 MB / 0.5605 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1508/0.3047, allocations: 57.51 MB / 0.6166 GB, free: 8.352 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004468/0.3091, allocations: 4.624 MB / 0.6211 GB, free: 3.719 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.3106, allocations: 1.328 MB / 0.6224 GB, free: 2.391 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/0.3163, allocations: 4.206 MB / 0.6265 GB, free: 14.18 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003117/0.3194, allocations: 6.096 MB / 0.6325 GB, free: 8.066 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003597/0.323, allocations: 4.474 MB / 0.6369 GB, free: 3.586 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2223/0.5453, allocations: 17.17 MB / 0.6536 GB, free: 86.93 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5453, allocations: 0 / 0.6536 GB, free: 86.93 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5453, allocations: 0 / 0.6536 GB, free: 86.93 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004436/0.5458, allocations: 0 / 0.6536 GB, free: 86.93 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1147 * Number of variables: 1147 Notification: Performance of Generate backend data structure: time 0.01557/0.5613, allocations: 15.53 MB / 0.6688 GB, free: 80.81 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.5614, allocations: 8.469 kB / 0.6688 GB, free: 80.81 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.5634, allocations: 1.603 MB / 0.6704 GB, free: 80.1 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.5751, allocations: 10.47 MB / 0.6806 GB, free: 77.57 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.5753, allocations: 421.4 kB / 0.681 GB, free: 77.38 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.5764, allocations: 0.5935 MB / 0.6816 GB, free: 77.38 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.5927, allocations: 26.65 MB / 0.7076 GB, free: 49.68 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.572e-05/0.5928, allocations: 5.906 kB / 0.7076 GB, free: 49.68 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007691/0.5936, allocations: 257.1 kB / 0.7079 GB, free: 49.68 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003648/0.5939, allocations: 0.5134 MB / 0.7084 GB, free: 49.59 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.6066, allocations: 8.825 MB / 0.717 GB, free: 47.15 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03042/0.637, allocations: 24.21 MB / 0.7406 GB, free: 31.35 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00587/0.6429, allocations: 3.969 MB / 0.7445 GB, free: 28.89 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.6434, allocations: 0.4959 MB / 0.745 GB, free: 28.38 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.6437, allocations: 234 kB / 0.7452 GB, free: 28.15 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.6439, allocations: 141.9 kB / 0.7453 GB, free: 28 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=273): time 4.479e-06/0.6439, allocations: 0 / 0.7453 GB, free: 28 MB / 0.5418 GB Notification: Performance of matching and sorting (n=273): time 0.01282/0.6567, allocations: 5.173 MB / 0.7504 GB, free: 22.76 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007499/0.6574, allocations: 7.75 MB / 0.758 GB, free: 13.15 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/0.6694, allocations: 11.6 MB / 0.7693 GB, free: 3.207 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0005454/0.67, allocations: 128.4 kB / 0.7694 GB, free: 3.078 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.003575/0.6735, allocations: 6.235 MB / 0.7755 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008734/0.6744, allocations: 1.015 MB / 0.7765 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001998/0.6764, allocations: 1.582 MB / 0.778 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.6765, allocations: 484.7 kB / 0.7785 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.6776, allocations: 0.5913 MB / 0.7791 GB, free: 9.785 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006907/0.6845, allocations: 13.24 MB / 0.792 GB, free: 8.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/0.6889, allocations: 3.925 MB / 0.7958 GB, free: 4.027 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.661e-05/0.6889, allocations: 14.62 kB / 0.7959 GB, free: 4.016 MB / 0.573 GB Notification: Performance of matching and sorting (n=641) (initialization): time 0.009777/0.6987, allocations: 4.494 MB / 0.8002 GB, free: 15.87 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.6987, allocations: 28.94 kB / 0.8003 GB, free: 15.84 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-05/0.6988, allocations: 52 kB / 0.8003 GB, free: 15.79 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.378e-05/0.6988, allocations: 82.56 kB / 0.8004 GB, free: 15.71 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003529/0.7024, allocations: 1.303 MB / 0.8017 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.809e-05/0.7025, allocations: 115.4 kB / 0.8018 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/0.7092, allocations: 0.6555 MB / 0.8024 GB, free: 13.75 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000706/0.7099, allocations: 0.5155 MB / 0.8029 GB, free: 13.23 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (641): * Single equations (assignments): 641 * 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.00301/0.7129, allocations: 0.6277 MB / 0.8035 GB, free: 12.67 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002701/0.7156, allocations: 1.218 MB / 0.8047 GB, free: 11.45 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006952/0.7225, allocations: 3.741 MB / 0.8084 GB, free: 7.828 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.7225, allocations: 27.39 kB / 0.8084 GB, free: 7.805 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7225, allocations: 0 / 0.8084 GB, free: 7.805 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.7226, allocations: 11.95 kB / 0.8084 GB, free: 7.793 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.7373, allocations: 8.605 MB / 0.8168 GB, free: 15.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.7373, allocations: 3.094 kB / 0.8168 GB, free: 15.79 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.7387, allocations: 0.5849 MB / 0.8174 GB, free: 15.23 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.7387, allocations: 8 kB / 0.8174 GB, free: 15.22 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.7389, allocations: 131.9 kB / 0.8175 GB, free: 15.09 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.7389, allocations: 11.94 kB / 0.8175 GB, free: 15.08 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7389, allocations: 3.984 kB / 0.8175 GB, free: 15.08 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/0.7451, allocations: 3.322 MB / 0.8208 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0037/0.7487, allocations: 2.161 MB / 0.8229 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/0.7501, allocations: 100 kB / 0.823 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/0.7521, allocations: 160.9 kB / 0.8232 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.7524, allocations: 244.4 kB / 0.8234 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/0.7527, allocations: 290.6 kB / 0.8237 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.007394/0.7601, allocations: 6.144 MB / 0.8297 GB, free: 3.145 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7601, allocations: 0 / 0.8297 GB, free: 3.145 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.004672/0.7647, allocations: 2.321 MB / 0.8319 GB, free: 0.8203 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (simpleFan.kappaA,simpleFan.kappaB,simpleFan1.kappaA,simpleFan1.kappaB,simpleFan2.kappaA,simpleFan2.kappaB) * 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 (267): * Single equations (assignments): 267 * 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.001788/0.7665, allocations: 0.9877 MB / 0.8329 GB, free: 244 kB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.003268/0.7698, allocations: 2.377 MB / 0.8352 GB, free: 14.07 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/0.7698, allocations: 22.36 kB / 0.8352 GB, free: 14.05 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0008374/0.7706, allocations: 0.8077 MB / 0.836 GB, free: 13.3 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/0.7745, allocations: 1.555 MB / 0.8375 GB, free: 11.83 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.7942, allocations: 14.99 MB / 0.8522 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.7962, allocations: 2.251 MB / 0.8544 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.006818/0.803, allocations: 2.493 MB / 0.8568 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005738/0.8088, allocations: 3.054 MB / 0.8598 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of SimCode: time 1.873e-06/0.8088, allocations: 0 / 0.8598 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of Templates: time 0.3298/1.139, allocations: 147.7 MB / 1.004 GB, free: 124.8 MB / 0.6512 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe ; mkfifo ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe >> ../files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.sim & ./ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.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: 8.297369934152812]