Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.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.01537/0.01537, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.01289/0.01289, allocations: 80.64 kB / 24.44 MB, free: 7.531 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.001693/0.001693, allocations: 160.8 kB / 28.2 MB, free: 4.668 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.503/1.503, allocations: 177.2 MB / 209 MB, free: 2.785 MB / 186.7 MB " [Timeout remaining time 178] 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 1.1/1.1, allocations: 102.5 MB / 368.3 MB, free: 1.258 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 468.3 MB, free: 13.48 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.738e-05, allocations: 7.438 kB / 468.3 MB, free: 13.47 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_affinity): time 0.1829/0.183, allocations: 55.01 MB / 0.511 GB, free: 6.461 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2899/0.4729, allocations: 17.68 MB / 0.5283 GB, free: 71.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.4745, allocations: 29.06 kB / 0.5283 GB, free: 71.05 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.002865/0.4774, allocations: 0.8422 MB / 0.5292 GB, free: 70.78 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.4799, allocations: 0.8138 MB / 0.53 GB, free: 70.41 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007689/0.4876, allocations: 2.786 MB / 0.5327 GB, free: 69.24 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.003321/0.491, allocations: 2.25 MB / 0.5349 GB, free: 68.16 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.4938, allocations: 1.978 MB / 0.5368 GB, free: 66.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.4975, allocations: 1.939 MB / 0.5387 GB, free: 66.06 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.4998, allocations: 1.846 MB / 0.5405 GB, free: 65.35 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009581/0.5007, allocations: 0.5284 MB / 0.541 GB, free: 65.35 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1362/0.6369, allocations: 26.31 MB / 0.5667 GB, free: 50.35 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003455/0.6404, allocations: 2.386 MB / 0.569 GB, free: 49.22 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004299/0.6447, allocations: 1.752 MB / 0.5708 GB, free: 48.23 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.661, allocations: 11.13 MB / 0.5816 GB, free: 40.5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.661, allocations: 0 / 0.5816 GB, free: 40.5 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.094e-06/0.661, allocations: 6.656 kB / 0.5816 GB, free: 40.5 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001996/0.6612, allocations: 0 / 0.5816 GB, free: 40.5 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: 411 * Number of variables: 411 Notification: Performance of Generate backend data structure: time 0.01481/0.676, allocations: 6.485 MB / 0.588 GB, free: 34.01 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.676, allocations: 8.031 kB / 0.588 GB, free: 34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.6783, allocations: 0.6851 MB / 0.5886 GB, free: 33.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.6909, allocations: 7.463 MB / 0.5959 GB, free: 25.79 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.6911, allocations: 146.4 kB / 0.5961 GB, free: 25.63 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007308/0.6918, allocations: 219 kB / 0.5963 GB, free: 25.42 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.7032, allocations: 10.91 MB / 0.6069 GB, free: 12.59 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.901e-05/0.7032, allocations: 11.89 kB / 0.6069 GB, free: 12.57 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00065/0.7039, allocations: 91.98 kB / 0.607 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/0.704, allocations: 181.6 kB / 0.6072 GB, free: 12.31 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.7181, allocations: 10.51 MB / 0.6175 GB, free: 1.793 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02802/0.7461, allocations: 10.13 MB / 0.6274 GB, free: 7.598 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/0.7523, allocations: 1.43 MB / 0.6288 GB, free: 6.156 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.7533, allocations: 344.5 kB / 0.6291 GB, free: 5.816 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/0.7537, allocations: 116.9 kB / 0.6292 GB, free: 5.703 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.91e-05/0.7538, allocations: 43.56 kB / 0.6292 GB, free: 5.652 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=92): time 5.49e-06/0.7538, allocations: 2.656 kB / 0.6292 GB, free: 5.652 MB / 0.4949 GB Notification: Performance of matching and sorting (n=93): time 0.01742/0.7712, allocations: 4.639 MB / 0.6338 GB, free: 0.9805 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002077/0.7714, allocations: 222.6 kB / 0.634 GB, free: 0.7148 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01568/0.7871, allocations: 5.103 MB / 0.639 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.7875, allocations: 41.7 kB / 0.639 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003544/0.791, allocations: 2.025 MB / 0.641 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007543/0.7918, allocations: 345.1 kB / 0.6413 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002593/0.7943, allocations: 0.521 MB / 0.6418 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.7946, allocations: 305.1 kB / 0.6421 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.7967, allocations: 0.8744 MB / 0.643 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/0.8001, allocations: 1.656 MB / 0.6446 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.8044, allocations: 2.085 MB / 0.6466 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.8044, allocations: 4 kB / 0.6466 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.007037/0.8114, allocations: 2.971 MB / 0.6495 GB, free: 236 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.8115, allocations: 14.66 kB / 0.6495 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/0.8115, allocations: 20 kB / 0.6496 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.494e-05/0.8116, allocations: 28 kB / 0.6496 GB, free: 176 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.8137, allocations: 0.5174 MB / 0.6501 GB, free: 15.66 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.577e-05/0.8138, allocations: 39.86 kB / 0.6501 GB, free: 15.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.8164, allocations: 105.3 kB / 0.6502 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000388/0.8168, allocations: 200.3 kB / 0.6504 GB, free: 15.32 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * 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 (238): * Single equations (assignments): 238 * 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.003116/0.8199, allocations: 1.328 MB / 0.6517 GB, free: 13.98 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/0.8212, allocations: 469 kB / 0.6522 GB, free: 13.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.8263, allocations: 1.708 MB / 0.6538 GB, free: 11.8 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.8263, allocations: 10.66 kB / 0.6538 GB, free: 11.79 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.8263, allocations: 4 kB / 0.6538 GB, free: 11.79 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.8263, allocations: 7.922 kB / 0.6538 GB, free: 11.78 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009268/0.8356, allocations: 3.098 MB / 0.6569 GB, free: 8.645 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.8356, allocations: 2.656 kB / 0.6569 GB, free: 8.645 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/0.8365, allocations: 215.8 kB / 0.6571 GB, free: 8.434 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-05/0.8365, allocations: 4 kB / 0.6571 GB, free: 8.43 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/0.8366, allocations: 39.97 kB / 0.6571 GB, free: 8.391 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.8366, allocations: 4 kB / 0.6571 GB, free: 8.387 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8366, allocations: 6.594 kB / 0.6571 GB, free: 8.383 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005053/0.8417, allocations: 1.848 MB / 0.6589 GB, free: 6.52 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/0.8439, allocations: 0.6869 MB / 0.6596 GB, free: 5.824 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/0.8449, allocations: 19.98 kB / 0.6596 GB, free: 5.805 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.8466, allocations: 50.58 kB / 0.6597 GB, free: 5.758 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.8468, allocations: 76.88 kB / 0.6598 GB, free: 5.68 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.8469, allocations: 83.92 kB / 0.6598 GB, free: 5.598 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.009053/0.856, allocations: 3.586 MB / 0.6633 GB, free: 2.027 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.856, allocations: 0 / 0.6633 GB, free: 2.027 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.004029/0.86, allocations: 0.6891 MB / 0.664 GB, free: 1.34 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (GasFanAdvanced.kappaA,GasFanAdvanced.kappaB,speed1.phi) * 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 (88): * Single equations (assignments): 88 * 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.003349/0.8634, allocations: 0.9406 MB / 0.6649 GB, free: 0.6133 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.004738/0.8681, allocations: 1.573 MB / 0.6665 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8681, allocations: 2.656 kB / 0.6665 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.8693, allocations: 417.5 kB / 0.6669 GB, free: 14.64 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/0.8732, allocations: 0.5205 MB / 0.6674 GB, free: 14.14 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.8899, allocations: 6.947 MB / 0.6742 GB, free: 7.164 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00458/0.8945, allocations: 2.007 MB / 0.6761 GB, free: 5.141 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.004293/0.8988, allocations: 1.092 MB / 0.6772 GB, free: 4.09 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/0.9002, allocations: 372.2 kB / 0.6775 GB, free: 3.727 MB / 0.5418 GB Notification: Performance of SimCode: time 1.874e-06/0.9002, allocations: 0 / 0.6775 GB, free: 3.727 MB / 0.5418 GB Notification: Performance of Templates: time 0.07317/0.9734, allocations: 32.72 MB / 0.7095 GB, free: 3.492 MB / 0.573 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; mkfifo ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe >> ../files/ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.sim & ./ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.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: 8.446264805970713]