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.01305/0.01305, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.0008445/0.0008445, allocations: 81.19 kB / 25.48 MB, free: 6.543 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.001526/0.001526, allocations: 162.1 kB / 28.89 MB, free: 3.379 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.8932/0.8932, allocations: 177.1 MB / 209.3 MB, free: 2.246 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.6887/0.6887, allocations: 102.5 MB / 368.3 MB, free: 0.8047 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_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.443e-06/1.443e-06, allocations: 0 / 415.1 MB, free: 2.262 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.607e-05, allocations: 2.312 kB / 415.1 MB, free: 2.258 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_simple): time 0.1173/0.1173, allocations: 69.4 MB / 484.5 MB, free: 12.87 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.1352, allocations: 21.52 MB / 0.4941 GB, free: 7.273 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009544/0.1362, allocations: 71.69 kB / 0.4942 GB, free: 7.203 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.1382, allocations: 1.558 MB / 0.4957 GB, free: 5.637 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1395, allocations: 1.366 MB / 0.497 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005081/0.1446, allocations: 4.031 MB / 0.501 GB, free: 220 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.1481, allocations: 5.525 MB / 0.5064 GB, free: 10.67 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003578/0.1517, allocations: 5.452 MB / 0.5117 GB, free: 5.105 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2939/0.4456, allocations: 57.71 MB / 0.5681 GB, free: 23.35 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004518/0.4501, allocations: 4.564 MB / 0.5725 GB, free: 23.35 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002175/0.4523, allocations: 1.331 MB / 0.5738 GB, free: 22.71 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004785/0.4571, allocations: 4.199 MB / 0.5779 GB, free: 19.92 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002541/0.4596, allocations: 6.104 MB / 0.5839 GB, free: 16.52 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003609/0.4632, allocations: 4.465 MB / 0.5882 GB, free: 13.22 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.4746, allocations: 17.18 MB / 0.605 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4746, allocations: 0 / 0.605 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4746, allocations: 2.688 kB / 0.605 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002269/0.4748, allocations: 0 / 0.605 GB, free: 13.47 MB / 0.4949 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.01506/0.4899, allocations: 14.42 MB / 0.6191 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4899, allocations: 15.31 kB / 0.6191 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.492, allocations: 1.072 MB / 0.6202 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009754/0.5018, allocations: 8.411 MB / 0.6284 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.502, allocations: 412.5 kB / 0.6288 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006888/0.5027, allocations: 0.5919 MB / 0.6294 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/0.5184, allocations: 25.35 MB / 0.6541 GB, free: 7.031 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/0.5184, allocations: 11.66 kB / 0.6541 GB, free: 7.023 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000495/0.5189, allocations: 250 kB / 0.6544 GB, free: 6.785 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003222/0.5192, allocations: 0.5119 MB / 0.6549 GB, free: 6.27 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/0.531, allocations: 7.993 MB / 0.6627 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02372/0.5547, allocations: 19.29 MB / 0.6815 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005913/0.5606, allocations: 3.747 MB / 0.6852 GB, free: 7.809 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.5612, allocations: 415.5 kB / 0.6855 GB, free: 7.398 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.5615, allocations: 225.9 kB / 0.6858 GB, free: 7.176 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.333e-05/0.5616, allocations: 142.5 kB / 0.6859 GB, free: 7.027 MB / 0.573 GB Notification: Performance of pre-optimization done (n=273): time 3.918e-06/0.5616, allocations: 0 / 0.6859 GB, free: 7.027 MB / 0.573 GB Notification: Performance of matching and sorting (n=273): time 0.01108/0.5727, allocations: 4.603 MB / 0.6904 GB, free: 2.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002046/0.5747, allocations: 7.743 MB / 0.698 GB, free: 8.891 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008153/0.5829, allocations: 8.735 MB / 0.7065 GB, free: 1.828 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.5831, allocations: 125.7 kB / 0.7066 GB, free: 1.699 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.5847, allocations: 3.083 MB / 0.7096 GB, free: 15.07 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007413/0.5854, allocations: 0.99 MB / 0.7106 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/0.5869, allocations: 1.353 MB / 0.7119 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.587, allocations: 308.9 kB / 0.7122 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000964/0.588, allocations: 0.5281 MB / 0.7127 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/0.5928, allocations: 11.64 MB / 0.7241 GB, free: 13.05 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/0.5954, allocations: 3.289 MB / 0.7273 GB, free: 9.328 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.5954, allocations: 16 kB / 0.7273 GB, free: 9.312 MB / 0.6199 GB Notification: Performance of matching and sorting (n=641) (initialization): time 0.004449/0.5999, allocations: 3.296 MB / 0.7305 GB, free: 6.305 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.5999, allocations: 30.66 kB / 0.7306 GB, free: 6.277 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/0.5999, allocations: 52 kB / 0.7306 GB, free: 6.227 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.539e-05/0.6, allocations: 80 kB / 0.7307 GB, free: 6.148 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.6023, allocations: 1.176 MB / 0.7318 GB, free: 5.055 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.851e-05/0.6024, allocations: 115.7 kB / 0.7319 GB, free: 4.965 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/0.6056, allocations: 0.6594 MB / 0.7326 GB, free: 4.305 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004613/0.6061, allocations: 464.2 kB / 0.733 GB, free: 3.852 MB / 0.6199 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.001624/0.6077, allocations: 0.5823 MB / 0.7336 GB, free: 3.336 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009892/0.6087, allocations: 0.714 MB / 0.7343 GB, free: 2.621 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/0.6129, allocations: 3.086 MB / 0.7373 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.6129, allocations: 35.98 kB / 0.7373 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.6129, allocations: 2.656 kB / 0.7373 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.6129, allocations: 11.95 kB / 0.7374 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007903/0.6208, allocations: 6.766 MB / 0.744 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6209, allocations: 2.656 kB / 0.744 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/0.6218, allocations: 0.4963 MB / 0.7445 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.6218, allocations: 8 kB / 0.7445 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.6219, allocations: 83.92 kB / 0.7445 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.6219, allocations: 11.94 kB / 0.7446 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6219, allocations: 0 / 0.7446 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.6245, allocations: 2.207 MB / 0.7467 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/0.6266, allocations: 1.882 MB / 0.7485 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007771/0.6274, allocations: 102.7 kB / 0.7486 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6291, allocations: 158.2 kB / 0.7488 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.6293, allocations: 200.4 kB / 0.749 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/0.6295, allocations: 243.9 kB / 0.7492 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.175/0.8045, allocations: 5.002 MB / 0.7541 GB, free: 193 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8045, allocations: 0 / 0.7541 GB, free: 193 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005579/0.81, allocations: 2.315 MB / 0.7564 GB, free: 193 MB / 0.6355 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.001783/0.8118, allocations: 1.086 MB / 0.7574 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.8147, allocations: 2.066 MB / 0.7594 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 0.0001748/0.8149, allocations: 163 kB / 0.7596 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.8156, allocations: 0.6649 MB / 0.7602 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.8189, allocations: 1.478 MB / 0.7617 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.8328, allocations: 14.93 MB / 0.7763 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.8343, allocations: 2.237 MB / 0.7785 GB, free: 186 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.004678/0.839, allocations: 2.495 MB / 0.7809 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004822/0.8438, allocations: 2.787 MB / 0.7836 GB, free: 185 MB / 0.6355 GB Notification: Performance of SimCode: time 1.333e-06/0.8438, allocations: 0 / 0.7836 GB, free: 185 MB / 0.6355 GB Notification: Performance of Templates: time 0.1292/0.973, allocations: 145.2 MB / 0.9254 GB, free: 55.85 MB / 0.6355 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: 7.385350929573178]