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.008588/0.008588, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.0009087/0.0009087, allocations: 81.75 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.0009444/0.0009444, allocations: 160 kB / 28.89 MB, free: 3.375 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.8847/0.8847, allocations: 177.2 MB / 209.3 MB, free: 2.227 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.6992/0.6992, allocations: 102.5 MB / 368.3 MB, free: 0.7227 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 1.723e-06/1.723e-06, allocations: 0 / 415.1 MB, free: 2.195 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.92e-05, allocations: 2.312 kB / 415.1 MB, free: 2.191 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.1131/0.1131, allocations: 63.67 MB / 478.7 MB, free: 2.594 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.1299, allocations: 19.03 MB / 497.8 MB, free: 15.5 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.1304, allocations: 27.88 kB / 497.8 MB, free: 15.47 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.001534/0.1319, allocations: 0.8625 MB / 498.6 MB, free: 14.6 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.133, allocations: 0.823 MB / 499.5 MB, free: 13.77 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.1374, allocations: 2.792 MB / 0.4905 GB, free: 10.97 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.1392, allocations: 2.248 MB / 0.4927 GB, free: 8.715 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.1407, allocations: 1.992 MB / 0.4946 GB, free: 6.637 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.292/0.4327, allocations: 54.56 MB / 0.5479 GB, free: 49.73 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.4344, allocations: 1.742 MB / 0.5496 GB, free: 49.73 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006302/0.435, allocations: 495.2 kB / 0.5501 GB, free: 49.73 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/0.4387, allocations: 3.258 MB / 0.5533 GB, free: 49.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.4397, allocations: 2.228 MB / 0.5554 GB, free: 49.41 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.4411, allocations: 1.642 MB / 0.557 GB, free: 49.19 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.006514/0.4476, allocations: 7.899 MB / 0.5648 GB, free: 44.18 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4476, allocations: 0 / 0.5648 GB, free: 44.18 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4476, allocations: 0.5312 kB / 0.5648 GB, free: 44.18 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.37e-05/0.4477, allocations: 4 kB / 0.5648 GB, free: 44.18 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.005617/0.4533, allocations: 5.913 MB / 0.5705 GB, free: 38.85 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.4533, allocations: 8.031 kB / 0.5705 GB, free: 38.84 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.454, allocations: 415.5 kB / 0.5709 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.4572, allocations: 3.288 MB / 0.5742 GB, free: 35.19 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/0.4573, allocations: 145.6 kB / 0.5743 GB, free: 35.04 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.4576, allocations: 224 kB / 0.5745 GB, free: 34.82 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00406/0.4616, allocations: 8.593 MB / 0.5829 GB, free: 24.51 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.4616, allocations: 7.891 kB / 0.5829 GB, free: 24.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.4618, allocations: 88.72 kB / 0.583 GB, free: 24.42 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.4619, allocations: 182.9 kB / 0.5832 GB, free: 24.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.4656, allocations: 2.739 MB / 0.5858 GB, free: 21.52 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007717/0.4733, allocations: 6.936 MB / 0.5926 GB, free: 14.71 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.4754, allocations: 1.235 MB / 0.5938 GB, free: 13.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.4755, allocations: 139.6 kB / 0.594 GB, free: 13.37 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.4757, allocations: 116.9 kB / 0.5941 GB, free: 13.25 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4757, allocations: 68.56 kB / 0.5941 GB, free: 13.18 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 2.595e-06/0.4757, allocations: 0 / 0.5941 GB, free: 13.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.004892/0.4806, allocations: 2.249 MB / 0.5963 GB, free: 10.96 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002661/0.4808, allocations: 2.641 MB / 0.5989 GB, free: 7.688 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.4835, allocations: 3.505 MB / 0.6023 GB, free: 4.836 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.4836, allocations: 61.7 kB / 0.6024 GB, free: 4.77 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.4841, allocations: 1.223 MB / 0.6036 GB, free: 3.727 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.4842, allocations: 349.1 kB / 0.6039 GB, free: 3.406 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004856/0.4847, allocations: 0.5178 MB / 0.6044 GB, free: 2.922 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 2.39e-05/0.4847, allocations: 305.1 kB / 0.6047 GB, free: 2.621 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.485, allocations: 190.7 kB / 0.6049 GB, free: 2.434 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.4863, allocations: 3.955 MB / 0.6088 GB, free: 13.35 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4873, allocations: 1.189 MB / 0.6099 GB, free: 12.02 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.4873, allocations: 8 kB / 0.6099 GB, free: 12.02 MB / 0.4949 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.001596/0.4889, allocations: 1.231 MB / 0.6111 GB, free: 10.89 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.489, allocations: 14.69 kB / 0.6111 GB, free: 10.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.489, allocations: 20 kB / 0.6112 GB, free: 10.86 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.489, allocations: 32 kB / 0.6112 GB, free: 10.83 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.4899, allocations: 460 kB / 0.6116 GB, free: 10.41 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.49, allocations: 41.92 kB / 0.6117 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.4911, allocations: 107.6 kB / 0.6118 GB, free: 10.28 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.4912, allocations: 168 kB / 0.6119 GB, free: 10.11 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.0005835/0.4918, allocations: 282.3 kB / 0.6122 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.4922, allocations: 283.6 kB / 0.6125 GB, free: 9.578 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.4935, allocations: 1.085 MB / 0.6135 GB, free: 8.48 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4935, allocations: 8 kB / 0.6135 GB, free: 8.473 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4935, allocations: 0 / 0.6135 GB, free: 8.473 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4935, allocations: 3.984 kB / 0.6135 GB, free: 8.469 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.4966, allocations: 2.564 MB / 0.616 GB, free: 6.148 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4966, allocations: 256 / 0.616 GB, free: 6.148 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.497, allocations: 186.5 kB / 0.6162 GB, free: 5.977 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.497, allocations: 4 kB / 0.6162 GB, free: 5.973 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.4971, allocations: 26.67 kB / 0.6163 GB, free: 5.949 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4971, allocations: 4 kB / 0.6163 GB, free: 5.945 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4971, allocations: 0 / 0.6163 GB, free: 5.945 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/0.498, allocations: 0.853 MB / 0.6171 GB, free: 5.094 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007846/0.4988, allocations: 0.6865 MB / 0.6178 GB, free: 4.395 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.4991, allocations: 38.75 kB / 0.6178 GB, free: 4.359 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.4997, allocations: 60.97 kB / 0.6179 GB, free: 4.297 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.4998, allocations: 64.88 kB / 0.6179 GB, free: 4.234 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.4999, allocations: 64.03 kB / 0.618 GB, free: 4.172 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001688/0.5016, allocations: 2 MB / 0.6199 GB, free: 2.391 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9e-08/0.5016, allocations: 2.688 kB / 0.6199 GB, free: 2.391 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001468/0.5031, allocations: 0.8703 MB / 0.6208 GB, free: 1.52 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.001593/0.5046, allocations: 1.007 MB / 0.6218 GB, free: 0.7578 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0009148/0.5056, allocations: 0.745 MB / 0.6225 GB, free: 112 kB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.703e-05/0.5056, allocations: 68.84 kB / 0.6226 GB, free: 44 kB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.5059, allocations: 224 kB / 0.6228 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.5073, allocations: 0.5679 MB / 0.6233 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.5135, allocations: 5.725 MB / 0.6289 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.5142, allocations: 0.8586 MB / 0.6298 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002172/0.5164, allocations: 0.8632 MB / 0.6306 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/0.5183, allocations: 1.01 MB / 0.6316 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/0.5183, allocations: 2.688 kB / 0.6316 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of Templates: time 0.06112/0.5794, allocations: 56.26 MB / 0.6865 GB, free: 15.41 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 -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: 4.961000056937337]