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.01293/0.01293, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.00144/0.00144, allocations: 83.97 kB / 25.15 MB, free: 6.953 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.001721/0.001721, allocations: 166.9 kB / 29.06 MB, free: 3.52 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.9161/0.9161, allocations: 177.2 MB / 210 MB, free: 2.422 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.7439/0.7439, allocations: 102.5 MB / 369.5 MB, free: 0.9023 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.433e-06/1.433e-06, allocations: 0 / 469.9 MB, free: 12.61 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.227e-05, allocations: 3.578 kB / 469.9 MB, free: 12.61 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.1127/0.1127, allocations: 58.02 MB / 0.5156 GB, free: 2.574 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.1989/0.3116, allocations: 18.92 MB / 0.5341 GB, free: 68.73 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000564/0.3122, allocations: 33.56 kB / 0.5341 GB, free: 68.72 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.001436/0.3136, allocations: 0.8438 MB / 0.5349 GB, free: 68.33 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0009534/0.3146, allocations: 0.8305 MB / 0.5357 GB, free: 67.83 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.3183, allocations: 2.793 MB / 0.5385 GB, free: 66.4 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.3195, allocations: 2.246 MB / 0.5407 GB, free: 65.33 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.3208, allocations: 1.977 MB / 0.5426 GB, free: 64.14 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1514/0.4722, allocations: 54.35 MB / 0.5957 GB, free: 27.38 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.4738, allocations: 1.756 MB / 0.5974 GB, free: 26 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005183/0.4743, allocations: 496 kB / 0.5978 GB, free: 25.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004582/0.4789, allocations: 3.258 MB / 0.601 GB, free: 22.43 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009197/0.4798, allocations: 2.229 MB / 0.6032 GB, free: 20.2 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.481, allocations: 1.654 MB / 0.6048 GB, free: 18.54 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007944/0.489, allocations: 7.886 MB / 0.6125 GB, free: 10.63 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.489, allocations: 0 / 0.6125 GB, free: 10.63 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.489, allocations: 1.188 kB / 0.6125 GB, free: 10.63 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4e-05/0.489, allocations: 0 / 0.6125 GB, free: 10.63 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.005088/0.4941, allocations: 6.467 MB / 0.6188 GB, free: 4.137 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4941, allocations: 12.03 kB / 0.6189 GB, free: 4.125 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.4952, allocations: 0.6109 MB / 0.6194 GB, free: 3.512 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/0.4989, allocations: 4.321 MB / 0.6237 GB, free: 15.1 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.499, allocations: 150.4 kB / 0.6238 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.4992, allocations: 216.4 kB / 0.624 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007001/0.5062, allocations: 9.251 MB / 0.6331 GB, free: 3.316 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.5063, allocations: 3.938 kB / 0.6331 GB, free: 3.312 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.5066, allocations: 91.92 kB / 0.6331 GB, free: 3.223 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/0.5067, allocations: 182.9 kB / 0.6333 GB, free: 3.043 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00801/0.5147, allocations: 3.574 MB / 0.6368 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01469/0.5294, allocations: 9.806 MB / 0.6464 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.5319, allocations: 1.407 MB / 0.6478 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.5322, allocations: 198.3 kB / 0.6479 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.5323, allocations: 116.9 kB / 0.6481 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.5324, allocations: 77.97 kB / 0.6481 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=92): time 2.716e-06/0.5324, allocations: 0 / 0.6481 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93): time 0.006057/0.5384, allocations: 3.855 MB / 0.6519 GB, free: 15.82 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006991/0.5391, allocations: 2.634 MB / 0.6545 GB, free: 12.55 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.5436, allocations: 4.817 MB / 0.6592 GB, free: 7.742 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.5437, allocations: 61.7 kB / 0.6592 GB, free: 7.676 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.5451, allocations: 2.334 MB / 0.6615 GB, free: 5.328 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.5453, allocations: 349.1 kB / 0.6618 GB, free: 4.984 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005961/0.5459, allocations: 0.594 MB / 0.6624 GB, free: 4.383 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.546, allocations: 484.7 kB / 0.6629 GB, free: 3.906 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.5465, allocations: 275.8 kB / 0.6632 GB, free: 3.637 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.5486, allocations: 4.549 MB / 0.6676 GB, free: 13.68 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.5499, allocations: 1.487 MB / 0.669 GB, free: 11.86 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5499, allocations: 8 kB / 0.6691 GB, free: 11.85 MB / 0.5418 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002288/0.5522, allocations: 1.797 MB / 0.6708 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5522, allocations: 16 kB / 0.6708 GB, free: 10.04 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.5523, allocations: 20 kB / 0.6708 GB, free: 10.02 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.5523, allocations: 30.62 kB / 0.6709 GB, free: 9.992 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000996/0.5533, allocations: 0.4993 MB / 0.6714 GB, free: 9.492 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/0.5533, allocations: 46.48 kB / 0.6714 GB, free: 9.449 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.5545, allocations: 147.5 kB / 0.6715 GB, free: 9.309 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.5547, allocations: 200 kB / 0.6717 GB, free: 9.113 MB / 0.5418 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.0005092/0.5552, allocations: 332.5 kB / 0.6721 GB, free: 8.777 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000457/0.5557, allocations: 489 kB / 0.6725 GB, free: 8.297 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.5572, allocations: 1.345 MB / 0.6738 GB, free: 6.918 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5573, allocations: 8 kB / 0.6738 GB, free: 6.91 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5573, allocations: 256 / 0.6738 GB, free: 6.91 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5573, allocations: 7.969 kB / 0.6738 GB, free: 6.902 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004323/0.5616, allocations: 4.174 MB / 0.6779 GB, free: 2.688 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5616, allocations: 4 kB / 0.6779 GB, free: 2.684 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.562, allocations: 207.7 kB / 0.6781 GB, free: 2.48 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.562, allocations: 0 / 0.6781 GB, free: 2.48 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.5621, allocations: 39.98 kB / 0.6782 GB, free: 2.441 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.5621, allocations: 6.656 kB / 0.6782 GB, free: 2.438 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5621, allocations: 0 / 0.6782 GB, free: 2.438 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.5636, allocations: 1.356 MB / 0.6795 GB, free: 1.055 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/0.5645, allocations: 0.8469 MB / 0.6803 GB, free: 204 kB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.5647, allocations: 36 kB / 0.6804 GB, free: 168 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/0.5655, allocations: 87.61 kB / 0.6804 GB, free: 84 kB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5656, allocations: 76.88 kB / 0.6805 GB, free: 8 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.5657, allocations: 83.92 kB / 0.6806 GB, free: 15.93 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.003823/0.5695, allocations: 2.792 MB / 0.6833 GB, free: 13.15 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5695, allocations: 0 / 0.6833 GB, free: 13.15 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001633/0.5712, allocations: 0.8742 MB / 0.6842 GB, free: 12.28 MB / 0.5574 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.001487/0.5726, allocations: 0.8998 MB / 0.6851 GB, free: 11.48 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.5739, allocations: 0.9274 MB / 0.686 GB, free: 10.57 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.5739, allocations: 9 kB / 0.686 GB, free: 10.56 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.5742, allocations: 295.3 kB / 0.6862 GB, free: 10.27 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5755, allocations: 0.5844 MB / 0.6868 GB, free: 9.691 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/0.5822, allocations: 5.738 MB / 0.6924 GB, free: 3.93 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.5829, allocations: 0.861 MB / 0.6933 GB, free: 3.039 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001753/0.5846, allocations: 0.979 MB / 0.6942 GB, free: 2.094 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/0.5854, allocations: 372.2 kB / 0.6946 GB, free: 1.73 MB / 0.5574 GB Notification: Performance of SimCode: time 1.723e-06/0.5854, allocations: 0 / 0.6946 GB, free: 1.73 MB / 0.5574 GB Notification: Performance of Templates: time 0.2319/0.8172, allocations: 55.18 MB / 0.7485 GB, free: 172.6 MB / 0.6043 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: 5.765035262797028]