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.01377/0.01377, allocations: 1.788 MB / 21.65 MB, free: 2.816 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.001106/0.001106, allocations: 84.05 kB / 25.48 MB, free: 6.355 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.0008616/0.0008616, allocations: 160 kB / 28.89 MB, free: 3.348 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.8515/0.8515, allocations: 177.2 MB / 209.3 MB, free: 2.238 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.7034/0.7034, allocations: 102.4 MB / 368.3 MB, free: 0.7695 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.492e-06/1.492e-06, allocations: 0 / 415 MB, free: 2.23 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.447e-05, allocations: 4.422 kB / 415.1 MB, free: 2.227 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.1233/0.1233, allocations: 69.4 MB / 484.5 MB, free: 12.85 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02285/0.1462, allocations: 21.52 MB / 0.4941 GB, free: 7.25 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1474, allocations: 67.69 kB / 0.4942 GB, free: 7.184 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.1499, allocations: 1.558 MB / 0.4957 GB, free: 5.617 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.1519, allocations: 1.37 MB / 0.497 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005944/0.1579, allocations: 4.035 MB / 0.501 GB, free: 192 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004084/0.162, allocations: 5.519 MB / 0.5064 GB, free: 10.65 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003902/0.1659, allocations: 5.456 MB / 0.5117 GB, free: 5.086 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.331/0.4968, allocations: 57.7 MB / 0.5681 GB, free: 23.22 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006141/0.503, allocations: 4.563 MB / 0.5725 GB, free: 23.22 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003483/0.5065, allocations: 1.332 MB / 0.5738 GB, free: 22.62 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008839/0.5153, allocations: 4.206 MB / 0.5779 GB, free: 19.82 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006923/0.5222, allocations: 6.1 MB / 0.5839 GB, free: 16.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007003/0.5292, allocations: 4.467 MB / 0.5882 GB, free: 13.25 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.5437, allocations: 17.18 MB / 0.605 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5437, allocations: 0 / 0.605 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5437, allocations: 0 / 0.605 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002636/0.5439, allocations: 0 / 0.605 GB, free: 13.5 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.01637/0.5603, allocations: 14.42 MB / 0.6191 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5603, allocations: 12.03 kB / 0.6191 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.5623, allocations: 1.076 MB / 0.6202 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.573, allocations: 8.405 MB / 0.6284 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.5732, allocations: 418.4 kB / 0.6288 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007629/0.574, allocations: 0.5932 MB / 0.6294 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.5923, allocations: 25.33 MB / 0.6541 GB, free: 7.07 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.433e-05/0.5923, allocations: 7.281 kB / 0.6541 GB, free: 7.066 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007271/0.593, allocations: 257.3 kB / 0.6543 GB, free: 6.824 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003546/0.5934, allocations: 0.5119 MB / 0.6548 GB, free: 6.309 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.6065, allocations: 7.995 MB / 0.6626 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03226/0.6388, allocations: 19.29 MB / 0.6815 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008889/0.6477, allocations: 3.752 MB / 0.6851 GB, free: 7.844 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/0.6484, allocations: 414.5 kB / 0.6855 GB, free: 7.434 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/0.649, allocations: 229.9 kB / 0.6858 GB, free: 7.207 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.6491, allocations: 143 kB / 0.6859 GB, free: 7.055 MB / 0.573 GB Notification: Performance of pre-optimization done (n=273): time 5.42e-06/0.6491, allocations: 0 / 0.6859 GB, free: 7.055 MB / 0.573 GB Notification: Performance of matching and sorting (n=273): time 0.01751/0.6667, allocations: 4.604 MB / 0.6904 GB, free: 2.527 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002466/0.6691, allocations: 7.746 MB / 0.698 GB, free: 8.914 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/0.6809, allocations: 8.727 MB / 0.7065 GB, free: 1.859 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003987/0.6813, allocations: 129.7 kB / 0.7066 GB, free: 1.727 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.6832, allocations: 3.089 MB / 0.7096 GB, free: 15.1 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/0.6838, allocations: 0.9913 MB / 0.7106 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001539/0.6853, allocations: 1.351 MB / 0.7119 GB, free: 12.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.6854, allocations: 311.4 kB / 0.7122 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009584/0.6863, allocations: 0.5242 MB / 0.7127 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/0.691, allocations: 11.64 MB / 0.7241 GB, free: 13.07 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.6937, allocations: 3.285 MB / 0.7273 GB, free: 9.355 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/0.6937, allocations: 16 kB / 0.7273 GB, free: 9.34 MB / 0.6199 GB Notification: Performance of matching and sorting (n=641) (initialization): time 0.004628/0.6983, allocations: 3.298 MB / 0.7305 GB, free: 6.328 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.6983, allocations: 28 kB / 0.7306 GB, free: 6.301 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.6984, allocations: 54.69 kB / 0.7306 GB, free: 6.25 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.335e-05/0.6984, allocations: 80 kB / 0.7307 GB, free: 6.172 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.7007, allocations: 1.174 MB / 0.7318 GB, free: 5.082 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.543e-05/0.7008, allocations: 113 kB / 0.7319 GB, free: 4.992 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.7047, allocations: 0.6517 MB / 0.7326 GB, free: 4.34 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/0.7051, allocations: 463.9 kB / 0.733 GB, free: 3.887 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.002009/0.7072, allocations: 0.5935 MB / 0.7336 GB, free: 3.363 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/0.7084, allocations: 0.714 MB / 0.7343 GB, free: 2.648 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.7123, allocations: 3.075 MB / 0.7373 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.7123, allocations: 28 kB / 0.7373 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.7123, allocations: 0 / 0.7373 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.7123, allocations: 14.64 kB / 0.7373 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007874/0.7202, allocations: 6.766 MB / 0.7439 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.7202, allocations: 0 / 0.7439 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009584/0.7211, allocations: 0.5052 MB / 0.7444 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.7211, allocations: 8 kB / 0.7444 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.7212, allocations: 87.94 kB / 0.7445 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.7212, allocations: 11.94 kB / 0.7445 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7212, allocations: 0 / 0.7445 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.7238, allocations: 2.207 MB / 0.7467 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/0.7259, allocations: 1.886 MB / 0.7485 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/0.7267, allocations: 100 kB / 0.7486 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.7284, allocations: 160.9 kB / 0.7488 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.7286, allocations: 197.7 kB / 0.749 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/0.7288, allocations: 242.6 kB / 0.7492 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.1804/0.9092, allocations: 5.005 MB / 0.7541 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9092, allocations: 0 / 0.7541 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006097/0.9153, allocations: 2.318 MB / 0.7564 GB, free: 193.4 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.001874/0.9172, allocations: 1.089 MB / 0.7574 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003031/0.9202, allocations: 2.06 MB / 0.7594 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 0.0001957/0.9204, allocations: 162.4 kB / 0.7596 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006565/0.9211, allocations: 0.6702 MB / 0.7602 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/0.9246, allocations: 1.48 MB / 0.7617 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.9397, allocations: 14.93 MB / 0.7763 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.9413, allocations: 2.23 MB / 0.7785 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005321/0.9466, allocations: 2.503 MB / 0.7809 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004802/0.9515, allocations: 2.793 MB / 0.7836 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.402e-06/0.9515, allocations: 0.7656 kB / 0.7836 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.1306/1.082, allocations: 145.2 MB / 0.9254 GB, free: 56.16 MB / 0.6355 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: 7.4315888681449]