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.01329/0.01329, 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.001195/0.001195, allocations: 80.97 kB / 25.48 MB, free: 6.395 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.001407/0.001407, allocations: 168.4 kB / 28.9 MB, free: 3.359 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.9302/0.9302, allocations: 177.2 MB / 209.3 MB, free: 2.23 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.7434/0.7434, allocations: 102.5 MB / 368.3 MB, free: 0.7539 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_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 2.144e-06/2.144e-06, allocations: 0 / 415.1 MB, free: 2.18 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.077e-05, allocations: 4.422 kB / 415.1 MB, free: 2.176 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_affinity): time 0.123/0.123, allocations: 63.73 MB / 478.8 MB, free: 2.512 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01785/0.1409, allocations: 19.03 MB / 497.8 MB, free: 15.42 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005746/0.1415, allocations: 27.88 kB / 497.9 MB, free: 15.39 MB / 474.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.001549/0.143, allocations: 0.8703 MB / 498.7 MB, free: 14.52 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0009754/0.144, allocations: 0.8191 MB / 499.6 MB, free: 13.7 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.1481, allocations: 2.764 MB / 0.4905 GB, free: 10.92 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.1496, allocations: 2.234 MB / 0.4927 GB, free: 8.676 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.151, allocations: 1.992 MB / 0.4947 GB, free: 6.598 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3402/0.4911, allocations: 54.53 MB / 0.5479 GB, free: 49.71 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.4929, allocations: 1.732 MB / 0.5496 GB, free: 49.71 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006232/0.4935, allocations: 495.1 kB / 0.5501 GB, free: 49.71 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.4975, allocations: 3.315 MB / 0.5533 GB, free: 49.6 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.4986, allocations: 2.235 MB / 0.5555 GB, free: 49.4 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.4999, allocations: 1.649 MB / 0.5571 GB, free: 49.09 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.5059, allocations: 7.892 MB / 0.5648 GB, free: 44.06 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5059, allocations: 4 kB / 0.5648 GB, free: 44.06 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5059, allocations: 0 / 0.5648 GB, free: 44.06 MB / 490.8 MB Notification: Performance of Transformations before backend: time 3.814e-05/0.506, allocations: 0 / 0.5648 GB, free: 44.06 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.004824/0.5108, allocations: 5.906 MB / 0.5706 GB, free: 38.76 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5108, allocations: 9.219 kB / 0.5706 GB, free: 38.75 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/0.5113, allocations: 408.5 kB / 0.571 GB, free: 38.35 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.5144, allocations: 3.298 MB / 0.5742 GB, free: 35.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.549e-05/0.5145, allocations: 149.1 kB / 0.5744 GB, free: 34.94 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.5147, allocations: 217.5 kB / 0.5746 GB, free: 34.73 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/0.5189, allocations: 8.595 MB / 0.583 GB, free: 24.42 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.5189, allocations: 3.984 kB / 0.583 GB, free: 24.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.5191, allocations: 91.94 kB / 0.583 GB, free: 24.32 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.671e-05/0.5192, allocations: 178.9 kB / 0.5832 GB, free: 24.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003861/0.523, allocations: 2.732 MB / 0.5859 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007107/0.5301, allocations: 6.946 MB / 0.5927 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.5322, allocations: 1.235 MB / 0.5939 GB, free: 13.42 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.5324, allocations: 136.7 kB / 0.594 GB, free: 13.28 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.5325, allocations: 123 kB / 0.5941 GB, free: 13.17 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.5325, allocations: 68.56 kB / 0.5942 GB, free: 13.09 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 2.635e-06/0.5325, allocations: 4 kB / 0.5942 GB, free: 13.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.004898/0.5374, allocations: 2.244 MB / 0.5964 GB, free: 10.88 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000315/0.5378, allocations: 2.638 MB / 0.599 GB, free: 7.602 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.5402, allocations: 3.508 MB / 0.6024 GB, free: 4.75 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.5403, allocations: 57.7 kB / 0.6024 GB, free: 4.688 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.5408, allocations: 1.219 MB / 0.6036 GB, free: 3.645 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.5409, allocations: 354.2 kB / 0.604 GB, free: 3.316 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004909/0.5414, allocations: 0.512 MB / 0.6045 GB, free: 2.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.014e-05/0.5414, allocations: 305.1 kB / 0.6048 GB, free: 2.539 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.5417, allocations: 198.7 kB / 0.605 GB, free: 2.344 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.5431, allocations: 3.963 MB / 0.6088 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.5442, allocations: 1.177 MB / 0.61 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.5442, allocations: 8 kB / 0.61 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.001533/0.5457, allocations: 1.239 MB / 0.6112 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5458, allocations: 12 kB / 0.6112 GB, free: 10.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.5458, allocations: 20 kB / 0.6112 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.5458, allocations: 32 kB / 0.6112 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.5469, allocations: 0.5059 MB / 0.6117 GB, free: 10.26 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.5469, allocations: 43.02 kB / 0.6118 GB, free: 10.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.548, allocations: 111.6 kB / 0.6119 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.5482, allocations: 160 kB / 0.612 GB, free: 9.965 MB / 0.4949 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.0005524/0.5488, allocations: 285.9 kB / 0.6123 GB, free: 9.703 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/0.5491, allocations: 282.3 kB / 0.6126 GB, free: 9.43 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.5505, allocations: 1.089 MB / 0.6136 GB, free: 8.332 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5505, allocations: 10.66 kB / 0.6137 GB, free: 8.324 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.5505, allocations: 4 kB / 0.6137 GB, free: 8.32 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.5505, allocations: 7.453 kB / 0.6137 GB, free: 8.316 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/0.5536, allocations: 2.558 MB / 0.6162 GB, free: 6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5536, allocations: 0 / 0.6162 GB, free: 6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.5541, allocations: 226 kB / 0.6164 GB, free: 5.789 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5541, allocations: 0 / 0.6164 GB, free: 5.789 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.5542, allocations: 27.97 kB / 0.6164 GB, free: 5.762 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5542, allocations: 4 kB / 0.6164 GB, free: 5.758 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5542, allocations: 2.688 kB / 0.6164 GB, free: 5.758 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.5551, allocations: 0.8503 MB / 0.6172 GB, free: 4.906 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/0.556, allocations: 0.6865 MB / 0.6179 GB, free: 4.207 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.5563, allocations: 36 kB / 0.618 GB, free: 4.172 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.557, allocations: 63.66 kB / 0.618 GB, free: 4.109 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5571, allocations: 64.88 kB / 0.6181 GB, free: 4.047 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.5572, allocations: 71.97 kB / 0.6181 GB, free: 3.977 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00178/0.559, allocations: 1.99 MB / 0.6201 GB, free: 2.207 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9e-08/0.559, allocations: 0 / 0.6201 GB, free: 2.207 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001578/0.5606, allocations: 0.882 MB / 0.6209 GB, free: 1.324 MB / 0.4949 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.002114/0.5627, allocations: 0.9973 MB / 0.6219 GB, free: 0.5664 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0009588/0.5636, allocations: 0.7449 MB / 0.6226 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-05/0.5637, allocations: 64.84 kB / 0.6227 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.5639, allocations: 229.2 kB / 0.6229 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5652, allocations: 0.5561 MB / 0.6235 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/0.5723, allocations: 5.725 MB / 0.6291 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.5731, allocations: 0.8586 MB / 0.6299 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001856/0.5749, allocations: 0.867 MB / 0.6307 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/0.5768, allocations: 1.02 MB / 0.6317 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/0.5768, allocations: 0 / 0.6317 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of Templates: time 0.06408/0.6409, allocations: 56.28 MB / 0.6867 GB, free: 15.2 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.209439308382571]