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.0135/0.0135, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.001002/0.001002, allocations: 83.92 kB / 25.4 MB, free: 6.949 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.001276/0.001276, allocations: 165.6 kB / 29.33 MB, free: 3.09 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.9368/0.9368, allocations: 177.1 MB / 210.3 MB, free: 3.457 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.6466/0.6466, allocations: 102.5 MB / 369.9 MB, free: 256 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 2.104e-06/2.104e-06, allocations: 3 kB / 470.4 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.527e-05, allocations: 5.438 kB / 470.5 MB, free: 18.82 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.1275/0.1275, allocations: 63.6 MB / 0.5215 GB, free: 8.02 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02327/0.1508, allocations: 21.12 MB / 0.5422 GB, free: 2.832 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.1532, allocations: 71.69 kB / 0.5422 GB, free: 2.762 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003046/0.1562, allocations: 1.527 MB / 0.5437 GB, free: 1.227 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.1591, allocations: 1.374 MB / 0.5451 GB, free: 15.84 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007368/0.1664, allocations: 4.023 MB / 0.549 GB, free: 11.8 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.005763/0.1722, allocations: 5.533 MB / 0.5544 GB, free: 6.266 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005571/0.1778, allocations: 5.427 MB / 0.5597 GB, free: 0.7578 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1362/0.314, allocations: 57.52 MB / 0.6159 GB, free: 8.32 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00617/0.3202, allocations: 4.62 MB / 0.6204 GB, free: 3.691 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.003688/0.3238, allocations: 1.332 MB / 0.6217 GB, free: 2.359 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008832/0.3327, allocations: 4.202 MB / 0.6258 GB, free: 14.15 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.006335/0.339, allocations: 6.108 MB / 0.6318 GB, free: 8.027 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.009436/0.3484, allocations: 4.469 MB / 0.6361 GB, free: 3.551 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2444/0.5928, allocations: 17.16 MB / 0.6529 GB, free: 86.85 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5928, allocations: 6.109 kB / 0.6529 GB, free: 86.85 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5928, allocations: 0.8125 kB / 0.6529 GB, free: 86.85 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0006174/0.5935, allocations: 0 / 0.6529 GB, free: 86.85 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.02528/0.6187, allocations: 15.53 MB / 0.668 GB, free: 80.73 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6188, allocations: 12.47 kB / 0.6681 GB, free: 80.73 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/0.6226, allocations: 1.605 MB / 0.6696 GB, free: 80.02 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01879/0.6414, allocations: 10.47 MB / 0.6798 GB, free: 77.5 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004408/0.6418, allocations: 418.1 kB / 0.6802 GB, free: 77.3 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/0.6443, allocations: 0.5954 MB / 0.6808 GB, free: 77.3 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.6658, allocations: 26.65 MB / 0.7069 GB, free: 49.63 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.6659, allocations: 5.938 kB / 0.7069 GB, free: 49.63 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001628/0.6676, allocations: 253.9 kB / 0.7071 GB, free: 49.62 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004925/0.6681, allocations: 0.5137 MB / 0.7076 GB, free: 49.54 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/0.6894, allocations: 8.825 MB / 0.7162 GB, free: 47.1 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04383/0.7332, allocations: 24.21 MB / 0.7399 GB, free: 31.33 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006179/0.7394, allocations: 3.97 MB / 0.7437 GB, free: 28.84 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.74, allocations: 0.4984 MB / 0.7442 GB, free: 28.34 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004163/0.7404, allocations: 392.8 kB / 0.7446 GB, free: 28.12 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.7406, allocations: 149 kB / 0.7447 GB, free: 27.97 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=273): time 5.34e-06/0.7406, allocations: 0 / 0.7447 GB, free: 27.97 MB / 0.5418 GB Notification: Performance of matching and sorting (n=273): time 0.01439/0.755, allocations: 5.173 MB / 0.7498 GB, free: 22.73 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001052/0.756, allocations: 7.743 MB / 0.7574 GB, free: 13.12 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01817/0.7742, allocations: 11.6 MB / 0.7687 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0006785/0.7749, allocations: 121.7 kB / 0.7688 GB, free: 3.055 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.004903/0.7798, allocations: 6.241 MB / 0.7749 GB, free: 13.28 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/0.7811, allocations: 1.005 MB / 0.7759 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002897/0.784, allocations: 1.588 MB / 0.7774 GB, free: 10.83 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7841, allocations: 480.7 kB / 0.7779 GB, free: 10.36 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.7852, allocations: 0.5952 MB / 0.7785 GB, free: 9.758 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006321/0.7915, allocations: 13.24 MB / 0.7914 GB, free: 8.566 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.7954, allocations: 3.928 MB / 0.7952 GB, free: 4.004 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.88e-05/0.7955, allocations: 16 kB / 0.7953 GB, free: 3.988 MB / 0.573 GB Notification: Performance of matching and sorting (n=641) (initialization): time 0.008552/0.804, allocations: 4.497 MB / 0.7996 GB, free: 15.84 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.8041, allocations: 28 kB / 0.7997 GB, free: 15.82 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.907e-05/0.8041, allocations: 59.98 kB / 0.7997 GB, free: 15.76 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.8045, allocations: 80 kB / 0.7998 GB, free: 15.68 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.8069, allocations: 1.3 MB / 0.8011 GB, free: 14.46 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.545e-05/0.807, allocations: 115.8 kB / 0.8012 GB, free: 14.37 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006813/0.8138, allocations: 0.6541 MB / 0.8018 GB, free: 13.72 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.8148, allocations: 0.5194 MB / 0.8023 GB, free: 13.2 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.003947/0.8188, allocations: 0.6196 MB / 0.8029 GB, free: 12.64 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003911/0.8227, allocations: 1.223 MB / 0.8041 GB, free: 11.41 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008441/0.8311, allocations: 3.741 MB / 0.8078 GB, free: 7.75 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.8312, allocations: 24 kB / 0.8078 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8312, allocations: 2.688 kB / 0.8078 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.8312, allocations: 19.92 kB / 0.8078 GB, free: 7.707 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02276/0.8539, allocations: 8.603 MB / 0.8162 GB, free: 15.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.854, allocations: 0 / 0.8162 GB, free: 15.71 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.8554, allocations: 0.586 MB / 0.8168 GB, free: 15.14 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.328e-05/0.8555, allocations: 8 kB / 0.8168 GB, free: 15.14 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002488/0.8557, allocations: 130.2 kB / 0.8169 GB, free: 15.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.8557, allocations: 11.94 kB / 0.8169 GB, free: 15 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8557, allocations: 4 kB / 0.8169 GB, free: 15 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.8665, allocations: 3.326 MB / 0.8202 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009298/0.8758, allocations: 2.165 MB / 0.8223 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005173/0.881, allocations: 100 kB / 0.8224 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006894/0.8879, allocations: 164.9 kB / 0.8226 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000769/0.8887, allocations: 233.7 kB / 0.8228 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004031/0.8891, allocations: 287.9 kB / 0.8231 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.02021/0.9093, allocations: 6.144 MB / 0.8291 GB, free: 3.066 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9093, allocations: 0 / 0.8291 GB, free: 3.066 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0144/0.9237, allocations: 2.32 MB / 0.8313 GB, free: 0.7461 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.002716/0.9264, allocations: 0.9778 MB / 0.8323 GB, free: 168 kB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.006309/0.9327, allocations: 2.387 MB / 0.8346 GB, free: 13.99 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.273e-05/0.9327, allocations: 18.36 kB / 0.8346 GB, free: 13.97 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.9339, allocations: 0.8129 MB / 0.8354 GB, free: 13.22 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/0.9479, allocations: 1.563 MB / 0.8369 GB, free: 11.75 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03671/0.9846, allocations: 14.99 MB / 0.8516 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005825/0.9904, allocations: 2.239 MB / 0.8538 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01173/1.002, allocations: 2.5 MB / 0.8562 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01092/1.013, allocations: 3.053 MB / 0.8592 GB, free: 5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.103e-06/1.013, allocations: 0 / 0.8592 GB, free: 5 MB / 0.6355 GB Notification: Performance of Templates: time 0.4037/1.417, allocations: 145.4 MB / 1.001 GB, free: 127.4 MB / 0.6512 GB " [Timeout remaining time 798] 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.817875043023378]