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.01754/0.01754, allocations: 1.8 MB / 21.15 MB, free: 3.242 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.001878/0.001878, allocations: 76.47 kB / 24.88 MB, free: 6.824 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.002374/0.002374, allocations: 170.7 kB / 28.74 MB, free: 3.641 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.505/1.505, allocations: 177.1 MB / 209.6 MB, free: 2.371 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.098/1.098, allocations: 102.5 MB / 369.1 MB, free: 0.8906 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.363e-06/1.363e-06, allocations: 0 / 469.1 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.097e-05, allocations: 3.719 kB / 469.1 MB, free: 13.01 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_simple): time 0.4721/0.4722, allocations: 61.56 MB / 0.5183 GB, free: 72.41 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02484/0.497, allocations: 21.2 MB / 0.539 GB, free: 63.12 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.5, allocations: 68.81 kB / 0.539 GB, free: 63.1 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004226/0.5043, allocations: 1.532 MB / 0.5405 GB, free: 62.35 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.5082, allocations: 1.366 MB / 0.5419 GB, free: 61.5 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009079/0.5172, allocations: 4.012 MB / 0.5458 GB, free: 59.42 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.008241/0.5255, allocations: 5.531 MB / 0.5512 GB, free: 56.79 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.5365, allocations: 5.427 MB / 0.5565 GB, free: 53.66 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01391/0.5504, allocations: 5.077 MB / 0.5614 GB, free: 51.21 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009532/0.5599, allocations: 4.527 MB / 0.5659 GB, free: 49.4 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005997/0.5659, allocations: 1.382 MB / 0.5672 GB, free: 49.4 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01264/0.5785, allocations: 4.391 MB / 0.5715 GB, free: 47.77 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008636/0.5872, allocations: 6.388 MB / 0.5777 GB, free: 42.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01143/0.5986, allocations: 4.666 MB / 0.5823 GB, free: 37.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03125/0.6299, allocations: 25.81 MB / 0.6075 GB, free: 11.95 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6299, allocations: 1.031 kB / 0.6075 GB, free: 11.95 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6299, allocations: 0 / 0.6075 GB, free: 11.95 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.000679/0.6305, allocations: 0 / 0.6075 GB, free: 11.95 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: 1147 * Number of variables: 1147 Notification: Performance of Generate backend data structure: time 0.05234/0.6829, allocations: 16.99 MB / 0.6241 GB, free: 10.98 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.6829, allocations: 8.031 kB / 0.6241 GB, free: 10.98 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.6959, allocations: 1.719 MB / 0.6258 GB, free: 9.25 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05343/0.7494, allocations: 15.85 MB / 0.6413 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009356/0.7503, allocations: 409.4 kB / 0.6417 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004203/0.7545, allocations: 0.5902 MB / 0.6422 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05013/0.8046, allocations: 28.06 MB / 0.6696 GB, free: 5.793 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.8048, allocations: 7.938 kB / 0.6696 GB, free: 5.785 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00235/0.8071, allocations: 252 kB / 0.6699 GB, free: 5.539 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007024/0.8079, allocations: 0.508 MB / 0.6704 GB, free: 5.027 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04266/0.8505, allocations: 19.24 MB / 0.6892 GB, free: 1.766 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08528/0.9358, allocations: 31.36 MB / 0.7198 GB, free: 1.688 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01442/0.9502, allocations: 3.795 MB / 0.7235 GB, free: 13.89 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/0.9528, allocations: 0.8829 MB / 0.7244 GB, free: 13 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008525/0.9537, allocations: 233.9 kB / 0.7246 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.358e-05/0.9538, allocations: 69.05 kB / 0.7246 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=273): time 5.471e-06/0.9538, allocations: 0 / 0.7246 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of matching and sorting (n=273): time 0.02838/0.9822, allocations: 6.21 MB / 0.7307 GB, free: 6.418 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004251/0.9826, allocations: 496.7 kB / 0.7312 GB, free: 5.82 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3304/1.313, allocations: 13.43 MB / 0.7443 GB, free: 164.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0005947/1.314, allocations: 70.11 kB / 0.7444 GB, free: 164.3 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.008104/1.322, allocations: 6.733 MB / 0.7509 GB, free: 164.1 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.323, allocations: 1.061 MB / 0.752 GB, free: 164.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003335/1.327, allocations: 1.481 MB / 0.7534 GB, free: 163.6 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/1.327, allocations: 476.8 kB / 0.7539 GB, free: 163.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/1.329, allocations: 1.144 MB / 0.755 GB, free: 162.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/1.334, allocations: 4.117 MB / 0.759 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00819/1.342, allocations: 4.92 MB / 0.7638 GB, free: 154.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.343, allocations: 14.84 kB / 0.7638 GB, free: 154.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=632) (initialization): time 0.01704/1.36, allocations: 5.502 MB / 0.7692 GB, free: 152.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 7.988e-05/1.36, allocations: 29.41 kB / 0.7692 GB, free: 152.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.36, allocations: 51.5 kB / 0.7693 GB, free: 152.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/1.36, allocations: 77.47 kB / 0.7694 GB, free: 152.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005847/1.366, allocations: 1.313 MB / 0.7706 GB, free: 152.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001954/1.366, allocations: 111.3 kB / 0.7708 GB, free: 152.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008981/1.375, allocations: 0.6116 MB / 0.7713 GB, free: 152.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001919/1.377, allocations: 0.5583 MB / 0.7719 GB, free: 152.3 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * 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 (632): * Single equations (assignments): 632 * 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.005175/1.382, allocations: 0.7435 MB / 0.7726 GB, free: 151.8 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003406/1.385, allocations: 1.154 MB / 0.7737 GB, free: 151.1 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.397, allocations: 4.444 MB / 0.7781 GB, free: 149.7 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/1.397, allocations: 30.62 kB / 0.7781 GB, free: 149.7 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.397, allocations: 3.875 kB / 0.7781 GB, free: 149.7 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/1.397, allocations: 13.12 kB / 0.7781 GB, free: 149.7 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02893/1.426, allocations: 11.33 MB / 0.7892 GB, free: 144.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.426, allocations: 6.594 kB / 0.7892 GB, free: 144.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.428, allocations: 0.5856 MB / 0.7898 GB, free: 144.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.987e-05/1.428, allocations: 7.672 kB / 0.7898 GB, free: 144.9 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/1.428, allocations: 125.2 kB / 0.7899 GB, free: 144.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/1.428, allocations: 10.03 kB / 0.7899 GB, free: 144.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.428, allocations: 3.531 kB / 0.7899 GB, free: 144.9 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008679/1.437, allocations: 4.628 MB / 0.7944 GB, free: 142.8 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006013/1.443, allocations: 1.812 MB / 0.7962 GB, free: 141.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/1.445, allocations: 47.95 kB / 0.7963 GB, free: 141.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003496/1.449, allocations: 81.03 kB / 0.7963 GB, free: 141.7 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/1.449, allocations: 237.2 kB / 0.7966 GB, free: 141.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003144/1.45, allocations: 306.6 kB / 0.7968 GB, free: 141.6 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01568/1.465, allocations: 6.85 MB / 0.8035 GB, free: 138.7 MB / 0.6043 GB Notification: Performance of sort global known variables: time 3.61e-07/1.465, allocations: 2.656 kB / 0.8035 GB, free: 138.7 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.009253/1.475, allocations: 1.738 MB / 0.8052 GB, free: 137.1 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.003927/1.479, allocations: 0.9874 MB / 0.8062 GB, free: 136.6 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.00763/1.486, allocations: 3.32 MB / 0.8094 GB, free: 133.7 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.486, allocations: 0 / 0.8094 GB, free: 133.7 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/1.489, allocations: 1.225 MB / 0.8106 GB, free: 132.5 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007209/1.496, allocations: 1.385 MB / 0.812 GB, free: 131.4 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/1.525, allocations: 15.46 MB / 0.8271 GB, free: 116.9 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008029/1.533, allocations: 4.887 MB / 0.8319 GB, free: 113 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01046/1.543, allocations: 2.86 MB / 0.8347 GB, free: 110.2 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003127/1.547, allocations: 0.9826 MB / 0.8356 GB, free: 109.2 MB / 0.6043 GB Notification: Performance of SimCode: time 2.404e-06/1.547, allocations: 3.938 kB / 0.8356 GB, free: 109.2 MB / 0.6043 GB Notification: Performance of Templates: time 0.1358/1.682, allocations: 72.8 MB / 0.9067 GB, free: 37.83 MB / 0.6043 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.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: 11.205567665980197]