Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008121/0.008121, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.0008524/0.0008524, allocations: 89.64 kB / 25.16 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.0008574/0.0008574, allocations: 166.9 kB / 29.06 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.8683/0.8683, allocations: 177.2 MB / 210 MB, free: 2.414 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7443/0.7443, allocations: 102.5 MB / 369.5 MB, free: 0.8984 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 469.9 MB, free: 12.6 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.764e-05, allocations: 3.719 kB / 469.9 MB, free: 12.6 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.3033/0.3033, allocations: 63.99 MB / 0.5214 GB, free: 74.53 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.322, allocations: 21.31 MB / 0.5422 GB, free: 62.46 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.3234, allocations: 68.22 kB / 0.5423 GB, free: 62.45 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.3256, allocations: 1.542 MB / 0.5438 GB, free: 61.69 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.3274, allocations: 1.37 MB / 0.5451 GB, free: 60.83 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006229/0.3336, allocations: 4.029 MB / 0.5491 GB, free: 58.75 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.3388, allocations: 5.52 MB / 0.5545 GB, free: 56.11 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005789/0.3446, allocations: 5.418 MB / 0.5598 GB, free: 52.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1404/0.4851, allocations: 57.52 MB / 0.6159 GB, free: 6.949 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00374/0.4888, allocations: 4.62 MB / 0.6204 GB, free: 2.32 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001716/0.4905, allocations: 1.335 MB / 0.6218 GB, free: 0.9883 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005935/0.4965, allocations: 4.202 MB / 0.6259 GB, free: 12.78 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.003372/0.4998, allocations: 6.096 MB / 0.6318 GB, free: 6.668 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.004638/0.5045, allocations: 4.471 MB / 0.6362 GB, free: 2.188 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.5217, allocations: 17.18 MB / 0.6529 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5217, allocations: 0 / 0.6529 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5217, allocations: 0 / 0.6529 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003368/0.522, allocations: 0 / 0.6529 GB, free: 0.9609 MB / 0.5105 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.01833/0.5403, allocations: 15.74 MB / 0.6683 GB, free: 1.234 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5404, allocations: 8.031 kB / 0.6683 GB, free: 1.227 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.5428, allocations: 1.605 MB / 0.6699 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/0.5556, allocations: 11.16 MB / 0.6808 GB, free: 4.352 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.5558, allocations: 420 kB / 0.6812 GB, free: 3.906 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007046/0.5565, allocations: 0.5902 MB / 0.6818 GB, free: 3.316 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.5748, allocations: 27.31 MB / 0.7084 GB, free: 1.547 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/0.5748, allocations: 7.938 kB / 0.7085 GB, free: 1.539 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005136/0.5753, allocations: 250.7 kB / 0.7087 GB, free: 1.297 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003467/0.5757, allocations: 0.5119 MB / 0.7092 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.5913, allocations: 10.46 MB / 0.7194 GB, free: 6.301 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.247/0.8383, allocations: 26.88 MB / 0.7457 GB, free: 158.6 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00719/0.8455, allocations: 4.107 MB / 0.7497 GB, free: 158.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008423/0.8464, allocations: 0.5856 MB / 0.7502 GB, free: 158.4 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003668/0.8467, allocations: 228.7 kB / 0.7505 GB, free: 158.4 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.8469, allocations: 144 kB / 0.7506 GB, free: 158.4 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=273): time 7.584e-06/0.8469, allocations: 0 / 0.7506 GB, free: 158.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=273): time 0.01483/0.8617, allocations: 5.433 MB / 0.7559 GB, free: 158.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001086/0.8628, allocations: 7.746 MB / 0.7635 GB, free: 148.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02138/0.8842, allocations: 12.08 MB / 0.7753 GB, free: 147.9 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0006046/0.8848, allocations: 126.9 kB / 0.7754 GB, free: 147.9 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.004888/0.8897, allocations: 6.194 MB / 0.7814 GB, free: 144.8 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/0.8906, allocations: 0.9947 MB / 0.7824 GB, free: 144.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002551/0.8931, allocations: 1.573 MB / 0.7839 GB, free: 143.5 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.8932, allocations: 477.5 kB / 0.7844 GB, free: 143 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.8951, allocations: 0.7433 MB / 0.7851 GB, free: 142.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00512/0.9002, allocations: 13.36 MB / 0.7982 GB, free: 126.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.9048, allocations: 4.148 MB / 0.8022 GB, free: 123.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.182e-05/0.9048, allocations: 15.44 kB / 0.8022 GB, free: 123.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=641) (initialization): time 0.009576/0.9144, allocations: 4.832 MB / 0.807 GB, free: 122 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.9144, allocations: 28.34 kB / 0.807 GB, free: 122 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.292e-05/0.9145, allocations: 54.44 kB / 0.807 GB, free: 122 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.987e-05/0.9146, allocations: 79.41 kB / 0.8071 GB, free: 122 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/0.9181, allocations: 1.329 MB / 0.8084 GB, free: 122 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001184/0.9183, allocations: 118.6 kB / 0.8085 GB, free: 122 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/0.9243, allocations: 0.7577 MB / 0.8093 GB, free: 121.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006495/0.9249, allocations: 0.5591 MB / 0.8098 GB, free: 121.7 MB / 0.6043 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.002262/0.9272, allocations: 0.6259 MB / 0.8104 GB, free: 121.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/0.9289, allocations: 1.219 MB / 0.8116 GB, free: 120.7 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005363/0.9343, allocations: 3.911 MB / 0.8154 GB, free: 119.6 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.9343, allocations: 28.38 kB / 0.8155 GB, free: 119.6 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9343, allocations: 0.7656 kB / 0.8155 GB, free: 119.6 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.9343, allocations: 16.41 kB / 0.8155 GB, free: 119.6 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.9462, allocations: 11.03 MB / 0.8262 GB, free: 111.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9462, allocations: 4 kB / 0.8263 GB, free: 111.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/0.9472, allocations: 0.581 MB / 0.8268 GB, free: 110.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.9472, allocations: 12 kB / 0.8268 GB, free: 110.8 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.9473, allocations: 121.6 kB / 0.8269 GB, free: 110.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.9473, allocations: 15.25 kB / 0.827 GB, free: 110.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9473, allocations: 0 / 0.827 GB, free: 110.7 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/0.9515, allocations: 3.593 MB / 0.8305 GB, free: 107.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/0.9538, allocations: 2.316 MB / 0.8327 GB, free: 105 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008837/0.9546, allocations: 104 kB / 0.8328 GB, free: 104.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/0.9567, allocations: 222 kB / 0.833 GB, free: 104.7 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.957, allocations: 245 kB / 0.8333 GB, free: 104.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/0.9572, allocations: 299.9 kB / 0.8336 GB, free: 104.2 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.006701/0.9639, allocations: 6.871 MB / 0.8403 GB, free: 97.38 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.9639, allocations: 0 / 0.8403 GB, free: 97.38 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.003644/0.9675, allocations: 2.324 MB / 0.8425 GB, free: 95.18 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.001491/0.969, allocations: 0.9809 MB / 0.8435 GB, free: 94.65 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.9723, allocations: 2.61 MB / 0.8461 GB, free: 92.21 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.9723, allocations: 23.12 kB / 0.8461 GB, free: 92.18 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0008635/0.9732, allocations: 0.8953 MB / 0.8469 GB, free: 91.32 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/0.9763, allocations: 1.547 MB / 0.8485 GB, free: 89.86 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.9892, allocations: 15.05 MB / 0.8632 GB, free: 74.76 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.9905, allocations: 2.243 MB / 0.8653 GB, free: 72.49 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.004929/0.9955, allocations: 2.907 MB / 0.8682 GB, free: 69.68 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/0.9972, allocations: 0.9645 MB / 0.8691 GB, free: 68.72 MB / 0.6043 GB Notification: Performance of SimCode: time 1.644e-06/0.9972, allocations: 4 kB / 0.8691 GB, free: 68.71 MB / 0.6043 GB Notification: Performance of Templates: time 0.3195/1.317, allocations: 141.2 MB / 1.007 GB, free: 201.1 MB / 0.6512 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe ; mkfifo ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe >> ../files/ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.sim & ./ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_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.220969319809228]