Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008352/0.008352, allocations: 1.798 MB / 21.35 MB, free: 3.188 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.0008028/0.0008028, allocations: 87.06 kB / 25.15 MB, free: 6.945 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.0008245/0.0008245, allocations: 166.9 kB / 29.06 MB, free: 3.508 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.9063/0.9063, allocations: 177.1 MB / 210 MB, free: 2.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.8526/0.8526, allocations: 102.5 MB / 369.5 MB, free: 0.9414 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 469.9 MB, free: 12.65 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.518e-05, allocations: 8.078 kB / 470 MB, free: 12.64 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.154/0.154, allocations: 58.01 MB / 0.5156 GB, free: 2.578 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2239/0.3779, allocations: 18.92 MB / 0.5341 GB, free: 68.83 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008139/0.3787, allocations: 31.22 kB / 0.5341 GB, free: 68.82 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.001809/0.3805, allocations: 0.8408 MB / 0.5349 GB, free: 68.44 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.3817, allocations: 0.8224 MB / 0.5357 GB, free: 67.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005433/0.3871, allocations: 2.794 MB / 0.5385 GB, free: 66.52 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.3893, allocations: 2.248 MB / 0.5406 GB, free: 65.44 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.3912, allocations: 1.977 MB / 0.5426 GB, free: 64.26 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.3934, allocations: 1.933 MB / 0.5445 GB, free: 63.34 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.3958, allocations: 1.787 MB / 0.5462 GB, free: 62.64 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.3972, allocations: 0.5327 MB / 0.5467 GB, free: 62.64 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006575/0.4038, allocations: 3.437 MB / 0.5501 GB, free: 61.63 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.4057, allocations: 2.385 MB / 0.5524 GB, free: 60.49 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.4082, allocations: 1.758 MB / 0.5541 GB, free: 59.5 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.4217, allocations: 8.183 MB / 0.5621 GB, free: 56.1 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4217, allocations: 1.219 kB / 0.5621 GB, free: 56.1 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4218, allocations: 0 / 0.5621 GB, free: 56.1 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001116/0.4219, allocations: 3.938 kB / 0.5621 GB, free: 56.09 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.009555/0.4314, allocations: 6.74 MB / 0.5687 GB, free: 51.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4315, allocations: 10.88 kB / 0.5687 GB, free: 51.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.4329, allocations: 0.6885 MB / 0.5694 GB, free: 51.1 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007167/0.44, allocations: 6.282 MB / 0.5755 GB, free: 45.98 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.4401, allocations: 150.4 kB / 0.5757 GB, free: 45.82 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.4404, allocations: 217.1 kB / 0.5759 GB, free: 45.61 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004796/0.4452, allocations: 9.255 MB / 0.5849 GB, free: 34.19 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.4452, allocations: 3.938 kB / 0.5849 GB, free: 34.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.4454, allocations: 84.5 kB / 0.585 GB, free: 34.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-05/0.4455, allocations: 186 kB / 0.5852 GB, free: 33.92 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.4502, allocations: 3.581 MB / 0.5887 GB, free: 30.34 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.4605, allocations: 9.328 MB / 0.5978 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.4628, allocations: 1.418 MB / 0.5992 GB, free: 19.47 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.4631, allocations: 196.6 kB / 0.5994 GB, free: 19.28 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.4632, allocations: 115.5 kB / 0.5995 GB, free: 19.17 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4632, allocations: 54.33 kB / 0.5995 GB, free: 19.11 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 2.585e-06/0.4632, allocations: 0 / 0.5995 GB, free: 19.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.005768/0.469, allocations: 3.806 MB / 0.6032 GB, free: 15.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.469, allocations: 214.6 kB / 0.6034 GB, free: 15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/0.4727, allocations: 4.372 MB / 0.6077 GB, free: 10.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.4727, allocations: 45.7 kB / 0.6078 GB, free: 10.58 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.4738, allocations: 2.306 MB / 0.61 GB, free: 8.262 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.474, allocations: 347.8 kB / 0.6103 GB, free: 7.922 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004866/0.4745, allocations: 0.5201 MB / 0.6108 GB, free: 7.391 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.4745, allocations: 480.7 kB / 0.6113 GB, free: 6.918 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.475, allocations: 279.7 kB / 0.6116 GB, free: 6.645 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/0.4758, allocations: 1.301 MB / 0.6128 GB, free: 4.922 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.4769, allocations: 1.478 MB / 0.6143 GB, free: 3.105 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4769, allocations: 4 kB / 0.6143 GB, free: 3.102 MB / 490.8 MB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002127/0.479, allocations: 1.777 MB / 0.616 GB, free: 1.328 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.4791, allocations: 14.19 kB / 0.616 GB, free: 1.316 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.4791, allocations: 22.62 kB / 0.6161 GB, free: 1.297 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.4791, allocations: 28 kB / 0.6161 GB, free: 1.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4801, allocations: 0.5018 MB / 0.6166 GB, free: 0.7695 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/0.4801, allocations: 44.41 kB / 0.6166 GB, free: 0.7266 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/0.4811, allocations: 95.39 kB / 0.6167 GB, free: 0.6367 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.4813, allocations: 202.6 kB / 0.6169 GB, free: 452 kB / 490.8 MB 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.0004949/0.4818, allocations: 279.8 kB / 0.6172 GB, free: 160 kB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/0.4822, allocations: 461.3 kB / 0.6176 GB, free: 15.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.484, allocations: 1.352 MB / 0.6189 GB, free: 14.42 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.484, allocations: 8 kB / 0.6189 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.484, allocations: 0 / 0.6189 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.484, allocations: 4.5 kB / 0.6189 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.4877, allocations: 3.31 MB / 0.6222 GB, free: 11.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4877, allocations: 5.625 kB / 0.6222 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/0.4882, allocations: 211.6 kB / 0.6224 GB, free: 10.85 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.4882, allocations: 0 / 0.6224 GB, free: 10.85 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.4882, allocations: 42.64 kB / 0.6224 GB, free: 10.81 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.4882, allocations: 7.984 kB / 0.6224 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4882, allocations: 0 / 0.6224 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.4898, allocations: 1.334 MB / 0.6237 GB, free: 9.445 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/0.4905, allocations: 0.6712 MB / 0.6244 GB, free: 8.766 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.4907, allocations: 19.95 kB / 0.6244 GB, free: 8.746 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.4911, allocations: 38.66 kB / 0.6244 GB, free: 8.711 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4912, allocations: 80.81 kB / 0.6245 GB, free: 8.629 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.4913, allocations: 86.64 kB / 0.6246 GB, free: 8.547 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002518/0.4938, allocations: 2.356 MB / 0.6269 GB, free: 6.207 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9e-08/0.4938, allocations: 0 / 0.6269 GB, free: 6.207 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001591/0.4954, allocations: 0.6866 MB / 0.6276 GB, free: 5.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.001718/0.4972, allocations: 0.9818 MB / 0.6285 GB, free: 4.992 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.4985, allocations: 0.8913 MB / 0.6294 GB, free: 4.109 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4985, allocations: 4 kB / 0.6294 GB, free: 4.105 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.4988, allocations: 295.2 kB / 0.6297 GB, free: 3.812 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.5001, allocations: 0.5357 MB / 0.6302 GB, free: 3.316 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/0.5077, allocations: 5.676 MB / 0.6358 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.5084, allocations: 0.8601 MB / 0.6366 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001792/0.5102, allocations: 0.9786 MB / 0.6375 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006431/0.5109, allocations: 370.9 kB / 0.6379 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/0.5109, allocations: 4 kB / 0.6379 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.04084/0.5517, allocations: 32.09 MB / 0.6692 GB, free: 12.69 MB / 0.5418 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; mkfifo ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe >> ../files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.sim & ./ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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.56363971112296]