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.008415/0.008415, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0008101/0.0008101, allocations: 80.5 kB / 26.19 MB, free: 6.078 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.0009197/0.0009197, allocations: 169.1 kB / 30.12 MB, free: 2.184 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.9123/0.9123, allocations: 177.2 MB / 211.1 MB, free: 2.258 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.7227/0.7227, allocations: 102.5 MB / 370.6 MB, free: 0.8086 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 1.613e-06/1.613e-06, allocations: 3.938 kB / 471.2 MB, free: 12.39 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.477e-05, allocations: 7.234 kB / 471.2 MB, free: 12.38 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.1111/0.1111, allocations: 57.87 MB / 0.5167 GB, free: 2.465 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2053/0.3165, allocations: 18.74 MB / 0.535 GB, free: 68.68 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.3171, allocations: 30.88 kB / 0.535 GB, free: 68.68 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.00141/0.3185, allocations: 0.8474 MB / 0.5359 GB, free: 68.28 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0009211/0.3194, allocations: 0.8237 MB / 0.5367 GB, free: 67.79 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004767/0.3242, allocations: 2.796 MB / 0.5394 GB, free: 66.36 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.006148/0.3303, allocations: 2.244 MB / 0.5416 GB, free: 65.28 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.333, allocations: 1.976 MB / 0.5435 GB, free: 64.1 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1286/0.4616, allocations: 54.36 MB / 0.5966 GB, free: 27.31 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.4634, allocations: 1.76 MB / 0.5983 GB, free: 25.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0008675/0.4643, allocations: 496 kB / 0.5988 GB, free: 25.45 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005823/0.4701, allocations: 3.253 MB / 0.602 GB, free: 22.38 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.4714, allocations: 2.237 MB / 0.6042 GB, free: 20.13 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.4726, allocations: 1.643 MB / 0.6058 GB, free: 18.49 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008669/0.4812, allocations: 7.894 MB / 0.6135 GB, free: 10.57 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4812, allocations: 0 / 0.6135 GB, free: 10.57 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4812, allocations: 0 / 0.6135 GB, free: 10.57 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.556e-05/0.4813, allocations: 0 / 0.6135 GB, free: 10.57 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.005842/0.4872, allocations: 6.403 MB / 0.6197 GB, free: 4.141 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4872, allocations: 10.69 kB / 0.6197 GB, free: 4.133 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007469/0.488, allocations: 0.6148 MB / 0.6203 GB, free: 3.516 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.4918, allocations: 4.065 MB / 0.6243 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.4919, allocations: 146.3 kB / 0.6244 GB, free: 15.2 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.4922, allocations: 212.4 kB / 0.6246 GB, free: 15 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/0.4982, allocations: 9.025 MB / 0.6335 GB, free: 3.805 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.4982, allocations: 3.938 kB / 0.6335 GB, free: 3.801 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.4984, allocations: 91.98 kB / 0.6336 GB, free: 3.711 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.4985, allocations: 178.9 kB / 0.6337 GB, free: 3.535 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.5028, allocations: 3.019 MB / 0.6367 GB, free: 0.5078 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.5136, allocations: 8.796 MB / 0.6453 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.5161, allocations: 1.375 MB / 0.6466 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.5163, allocations: 174.3 kB / 0.6468 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.5165, allocations: 112.9 kB / 0.6469 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.5166, allocations: 75.33 kB / 0.6469 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=92): time 2.675e-06/0.5166, allocations: 0 / 0.6469 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93): time 0.005775/0.5223, allocations: 2.468 MB / 0.6494 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007949/0.5231, allocations: 2.645 MB / 0.6519 GB, free: 64 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004922/0.5281, allocations: 4.619 MB / 0.6565 GB, free: 11.45 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.5282, allocations: 65.69 kB / 0.6565 GB, free: 11.38 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.5296, allocations: 2.345 MB / 0.6588 GB, free: 9.016 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.5298, allocations: 353.1 kB / 0.6591 GB, free: 8.668 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006381/0.5305, allocations: 0.6029 MB / 0.6597 GB, free: 8.055 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5306, allocations: 484.7 kB / 0.6602 GB, free: 7.578 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.531, allocations: 226.4 kB / 0.6604 GB, free: 7.359 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.5331, allocations: 4.502 MB / 0.6648 GB, free: 1.449 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.5343, allocations: 1.41 MB / 0.6662 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.5343, allocations: 7.938 kB / 0.6662 GB, free: 15.69 MB / 0.5418 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002384/0.5367, allocations: 1.678 MB / 0.6678 GB, free: 14.02 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5367, allocations: 15.94 kB / 0.6678 GB, free: 14 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.5367, allocations: 20 kB / 0.6679 GB, free: 13.98 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.5368, allocations: 32 kB / 0.6679 GB, free: 13.95 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.5379, allocations: 0.4902 MB / 0.6684 GB, free: 13.46 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.373e-05/0.538, allocations: 39.86 kB / 0.6684 GB, free: 13.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.5399, allocations: 103.6 kB / 0.6685 GB, free: 13.33 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/0.5403, allocations: 191.9 kB / 0.6687 GB, free: 13.14 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.0008914/0.5412, allocations: 329.8 kB / 0.669 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007515/0.542, allocations: 491.7 kB / 0.6695 GB, free: 12.32 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.5442, allocations: 1.295 MB / 0.6707 GB, free: 11 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.5442, allocations: 10.66 kB / 0.6707 GB, free: 10.99 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5442, allocations: 0 / 0.6707 GB, free: 10.99 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5442, allocations: 3.984 kB / 0.6708 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/0.549, allocations: 3.241 MB / 0.6739 GB, free: 7.707 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.549, allocations: 0 / 0.6739 GB, free: 7.707 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.5496, allocations: 206.4 kB / 0.6741 GB, free: 7.508 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.5496, allocations: 4 kB / 0.6741 GB, free: 7.504 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.5497, allocations: 35.98 kB / 0.6742 GB, free: 7.469 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.5497, allocations: 4 kB / 0.6742 GB, free: 7.465 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5497, allocations: 0 / 0.6742 GB, free: 7.465 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.5514, allocations: 1.277 MB / 0.6754 GB, free: 6.164 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.5527, allocations: 0.7964 MB / 0.6762 GB, free: 5.359 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/0.5531, allocations: 35.95 kB / 0.6762 GB, free: 5.324 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5541, allocations: 71.62 kB / 0.6763 GB, free: 5.258 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.5543, allocations: 76.88 kB / 0.6764 GB, free: 5.184 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.229e-05/0.5544, allocations: 75.98 kB / 0.6764 GB, free: 5.109 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.003012/0.5574, allocations: 2.507 MB / 0.6789 GB, free: 2.617 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5574, allocations: 3.938 kB / 0.6789 GB, free: 2.613 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.002117/0.5595, allocations: 0.8742 MB / 0.6797 GB, free: 1.738 MB / 0.5418 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.001652/0.5611, allocations: 0.8907 MB / 0.6806 GB, free: 0.9531 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.5626, allocations: 0.8453 MB / 0.6814 GB, free: 124 kB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.5626, allocations: 9 kB / 0.6814 GB, free: 116 kB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.563, allocations: 273.9 kB / 0.6817 GB, free: 15.84 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.5647, allocations: 0.5742 MB / 0.6823 GB, free: 15.27 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/0.5728, allocations: 5.722 MB / 0.6878 GB, free: 9.527 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009392/0.5737, allocations: 0.8611 MB / 0.6887 GB, free: 8.637 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.002535/0.5763, allocations: 0.8635 MB / 0.6895 GB, free: 7.805 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002602/0.5789, allocations: 1.133 MB / 0.6906 GB, free: 6.672 MB / 0.5574 GB Notification: Performance of SimCode: time 1.272e-06/0.5789, allocations: 0 / 0.6906 GB, free: 6.672 MB / 0.5574 GB Notification: Performance of Templates: time 0.2402/0.819, allocations: 57.32 MB / 0.7466 GB, free: 170.8 MB / 0.6043 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.703032293356955]