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.008463/0.008463, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0007961/0.0007961, allocations: 89.34 kB / 25.62 MB, free: 6.512 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.0008131/0.0008131, allocations: 164.9 kB / 29.46 MB, free: 3.027 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.9459/0.9459, allocations: 177.1 MB / 210.3 MB, free: 1.746 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.7771/0.7771, allocations: 102.4 MB / 369.8 MB, free: 0.9023 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 2.064e-06/2.064e-06, allocations: 0 / 469.9 MB, free: 12.96 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.355e-05, allocations: 8.281 kB / 469.9 MB, free: 12.96 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.3281/0.3282, allocations: 63.89 MB / 0.5212 GB, free: 73.8 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01973/0.3479, allocations: 21.26 MB / 0.542 GB, free: 62.3 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007946/0.3487, allocations: 68.72 kB / 0.5421 GB, free: 62.28 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.3505, allocations: 1.533 MB / 0.5436 GB, free: 61.53 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.353, allocations: 1.369 MB / 0.5449 GB, free: 60.67 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006998/0.36, allocations: 4.018 MB / 0.5488 GB, free: 58.59 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.005546/0.3655, allocations: 5.514 MB / 0.5542 GB, free: 55.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005237/0.3708, allocations: 5.424 MB / 0.5595 GB, free: 52.83 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.3759, allocations: 5.077 MB / 0.5645 GB, free: 50.39 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004405/0.3803, allocations: 4.523 MB / 0.5689 GB, free: 48.24 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002262/0.3826, allocations: 1.383 MB / 0.5702 GB, free: 48.24 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005988/0.3886, allocations: 4.393 MB / 0.5745 GB, free: 46.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002557/0.3911, allocations: 6.382 MB / 0.5808 GB, free: 40.6 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.3944, allocations: 4.67 MB / 0.5853 GB, free: 35.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4056, allocations: 17.55 MB / 0.6025 GB, free: 18.32 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4056, allocations: 0 / 0.6025 GB, free: 18.32 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4056, allocations: 0 / 0.6025 GB, free: 18.32 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001337/0.4058, allocations: 1.094 kB / 0.6025 GB, free: 18.32 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.01421/0.42, allocations: 16.09 MB / 0.6182 GB, free: 2.258 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.42, allocations: 8.031 kB / 0.6182 GB, free: 2.25 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.4225, allocations: 1.727 MB / 0.6199 GB, free: 0.5156 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01759/0.4401, allocations: 15.8 MB / 0.6353 GB, free: 0.6445 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.4404, allocations: 412.1 kB / 0.6357 GB, free: 212 kB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006673/0.4411, allocations: 0.5902 MB / 0.6363 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02349/0.4645, allocations: 27.3 MB / 0.6629 GB, free: 13.86 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/0.4646, allocations: 4.5 kB / 0.6629 GB, free: 13.86 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006276/0.4652, allocations: 258.6 kB / 0.6632 GB, free: 13.61 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004634/0.4657, allocations: 0.5119 MB / 0.6637 GB, free: 13.09 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.4881, allocations: 10.46 MB / 0.6739 GB, free: 2.613 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03279/0.5209, allocations: 25.59 MB / 0.6989 GB, free: 8.77 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006863/0.5278, allocations: 4.112 MB / 0.7029 GB, free: 4.645 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/0.5286, allocations: 0.5916 MB / 0.7035 GB, free: 4.043 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.529, allocations: 233.9 kB / 0.7037 GB, free: 3.812 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.5291, allocations: 63.5 kB / 0.7038 GB, free: 3.738 MB / 0.573 GB Notification: Performance of pre-optimization done (n=273): time 4.758e-06/0.5291, allocations: 0 / 0.7038 GB, free: 3.738 MB / 0.573 GB Notification: Performance of matching and sorting (n=273): time 0.01259/0.5416, allocations: 5.366 MB / 0.709 GB, free: 14.31 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/0.5418, allocations: 0.4929 MB / 0.7095 GB, free: 13.7 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/0.5521, allocations: 10.88 MB / 0.7201 GB, free: 2.859 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.5522, allocations: 69.7 kB / 0.7202 GB, free: 2.785 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.003611/0.5558, allocations: 6.081 MB / 0.7261 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005834/0.5564, allocations: 0.9983 MB / 0.7271 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.5578, allocations: 1.333 MB / 0.7284 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.5579, allocations: 476.8 kB / 0.7288 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.5593, allocations: 0.7435 MB / 0.7296 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.562, allocations: 3.535 MB / 0.733 GB, free: 4.418 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004741/0.5667, allocations: 4.006 MB / 0.7369 GB, free: 15.48 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/0.5668, allocations: 17.75 kB / 0.7369 GB, free: 15.46 MB / 0.6199 GB Notification: Performance of matching and sorting (n=632) (initialization): time 0.008736/0.5755, allocations: 4.708 MB / 0.7415 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.5755, allocations: 24 kB / 0.7416 GB, free: 10.74 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-05/0.5756, allocations: 52 kB / 0.7416 GB, free: 10.69 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.557e-05/0.5757, allocations: 80 kB / 0.7417 GB, free: 10.61 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003612/0.5793, allocations: 1.32 MB / 0.743 GB, free: 9.297 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001031/0.5794, allocations: 108.2 kB / 0.7431 GB, free: 9.191 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/0.5833, allocations: 0.6142 MB / 0.7437 GB, free: 8.586 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00067/0.584, allocations: 0.5507 MB / 0.7442 GB, free: 8.035 MB / 0.6199 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.001638/0.5856, allocations: 474.7 kB / 0.7447 GB, free: 7.559 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/0.587, allocations: 1.161 MB / 0.7458 GB, free: 6.391 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/0.5939, allocations: 3.904 MB / 0.7496 GB, free: 2.68 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.5939, allocations: 28 kB / 0.7496 GB, free: 2.652 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.594, allocations: 3.938 kB / 0.7497 GB, free: 2.648 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.594, allocations: 11.95 kB / 0.7497 GB, free: 2.637 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2308/0.8248, allocations: 8.799 MB / 0.7583 GB, free: 190 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.8248, allocations: 3.406 kB / 0.7583 GB, free: 190 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.8259, allocations: 0.5903 MB / 0.7588 GB, free: 190 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.8259, allocations: 9.406 kB / 0.7588 GB, free: 190 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.826, allocations: 126.2 kB / 0.759 GB, free: 190 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.826, allocations: 9.312 kB / 0.759 GB, free: 190 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.826, allocations: 3.438 kB / 0.759 GB, free: 190 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006188/0.8322, allocations: 3.516 MB / 0.7624 GB, free: 189.6 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004314/0.8365, allocations: 1.817 MB / 0.7642 GB, free: 189.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002101/0.8386, allocations: 46.2 kB / 0.7642 GB, free: 189.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00236/0.841, allocations: 82.67 kB / 0.7643 GB, free: 189.5 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/0.8414, allocations: 237.1 kB / 0.7645 GB, free: 189.5 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/0.8416, allocations: 302.2 kB / 0.7648 GB, free: 189.5 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.01113/0.8527, allocations: 5.737 MB / 0.7704 GB, free: 188.1 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6.51e-07/0.8527, allocations: 1.812 kB / 0.7704 GB, free: 188.1 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.008093/0.8608, allocations: 1.727 MB / 0.7721 GB, free: 188 MB / 0.6199 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.002512/0.8634, allocations: 1.038 MB / 0.7731 GB, free: 187.8 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.00591/0.8693, allocations: 2.489 MB / 0.7756 GB, free: 187.3 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.8693, allocations: 1.406 kB / 0.7756 GB, free: 187.3 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.8709, allocations: 0.8914 MB / 0.7764 GB, free: 187.1 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006218/0.8771, allocations: 1.386 MB / 0.7778 GB, free: 186.6 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/0.9009, allocations: 14.9 MB / 0.7923 GB, free: 179.3 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/0.9045, allocations: 2.236 MB / 0.7945 GB, free: 178.6 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.008494/0.913, allocations: 2.866 MB / 0.7973 GB, free: 178 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002713/0.9157, allocations: 0.9715 MB / 0.7983 GB, free: 177.7 MB / 0.6199 GB Notification: Performance of SimCode: time 2.805e-06/0.9157, allocations: 0 / 0.7983 GB, free: 177.7 MB / 0.6199 GB Notification: Performance of Templates: time 0.1286/1.044, allocations: 73.15 MB / 0.8697 GB, free: 115.5 MB / 0.6199 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: 6.937248359899968]