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.006342/0.006342, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0007386/0.0007386, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.001096/0.001096, allocations: 164.9 kB / 27.86 MB, free: 5.496 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.8614/0.8614, allocations: 177.1 MB / 208.6 MB, free: 2.984 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.7422/0.7422, allocations: 102.5 MB / 367.9 MB, free: 1.422 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 0.5.2 (/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.623e-06/1.623e-06, allocations: 3.938 kB / 0.5366 GB, free: 39.81 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.075e-05, allocations: 3.938 kB / 0.5367 GB, free: 39.81 MB / 490.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.107/0.107, allocations: 54.81 MB / 0.5902 GB, free: 5.227 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.1225, allocations: 17.68 MB / 0.6074 GB, free: 3.492 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008734/0.1233, allocations: 27.88 kB / 0.6075 GB, free: 3.465 MB / 0.4949 GB [/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.001953/0.1253, allocations: 0.8431 MB / 0.6083 GB, free: 2.617 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.1264, allocations: 0.8154 MB / 0.6091 GB, free: 1.797 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.004779/0.1312, allocations: 2.788 MB / 0.6118 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.1329, allocations: 2.25 MB / 0.614 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.1343, allocations: 1.917 MB / 0.6159 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1356, allocations: 1.926 MB / 0.6178 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.1369, allocations: 1.848 MB / 0.6196 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003938/0.1373, allocations: 0.5312 MB / 0.6201 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004688/0.142, allocations: 3.437 MB / 0.6234 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.1432, allocations: 2.385 MB / 0.6258 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.1443, allocations: 1.762 MB / 0.6275 GB, free: 14.84 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.009405/0.1537, allocations: 11.12 MB / 0.6383 GB, free: 3.691 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1537, allocations: 7.938 kB / 0.6384 GB, free: 3.684 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.324e-06/0.1537, allocations: 4 kB / 0.6384 GB, free: 3.68 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.754e-05/0.1538, allocations: 0 / 0.6384 GB, free: 3.68 MB / 0.5262 GB 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.007285/0.1611, allocations: 6.473 MB / 0.6447 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1611, allocations: 8.031 kB / 0.6447 GB, free: 13.13 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.1622, allocations: 0.5835 MB / 0.6453 GB, free: 12.54 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007573/0.1698, allocations: 7.431 MB / 0.6525 GB, free: 5.016 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.1699, allocations: 146.4 kB / 0.6526 GB, free: 4.859 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.1701, allocations: 120.4 kB / 0.6528 GB, free: 4.742 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007569/0.1777, allocations: 10.92 MB / 0.6634 GB, free: 7.898 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.1777, allocations: 4 kB / 0.6634 GB, free: 7.895 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.1779, allocations: 87.98 kB / 0.6635 GB, free: 7.809 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.178, allocations: 178.9 kB / 0.6637 GB, free: 7.633 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009752/0.1878, allocations: 10.53 MB / 0.674 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.1994, allocations: 10.1 MB / 0.6838 GB, free: 2.828 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.202, allocations: 1.432 MB / 0.6852 GB, free: 1.371 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.2025, allocations: 340.6 kB / 0.6856 GB, free: 1.031 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.2026, allocations: 108.9 kB / 0.6857 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.2026, allocations: 51.55 kB / 0.6857 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of pre-optimization done (n=92): time 2.495e-06/0.2026, allocations: 0 / 0.6857 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of matching and sorting (n=93): time 0.006891/0.2095, allocations: 4.397 MB / 0.69 GB, free: 12.43 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.2096, allocations: 218.6 kB / 0.6902 GB, free: 12.16 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004738/0.2144, allocations: 5.107 MB / 0.6952 GB, free: 7.062 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.2144, allocations: 41.7 kB / 0.6952 GB, free: 7.016 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.2156, allocations: 2.013 MB / 0.6972 GB, free: 4.988 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.2158, allocations: 353.1 kB / 0.6975 GB, free: 4.641 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008502/0.2167, allocations: 0.5224 MB / 0.6981 GB, free: 4.109 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2168, allocations: 305.1 kB / 0.6983 GB, free: 3.809 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.2179, allocations: 0.8744 MB / 0.6992 GB, free: 2.934 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.2195, allocations: 1.657 MB / 0.7008 GB, free: 0.9609 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.2216, allocations: 2.073 MB / 0.7028 GB, free: 14.62 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2216, allocations: 12 kB / 0.7029 GB, free: 14.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.003224/0.2248, allocations: 2.892 MB / 0.7057 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.2248, allocations: 16 kB / 0.7057 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.2248, allocations: 16 kB / 0.7057 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/0.2249, allocations: 32 kB / 0.7057 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009905/0.2259, allocations: 0.5112 MB / 0.7062 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.948e-05/0.2259, allocations: 43.86 kB / 0.7063 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009729/0.2269, allocations: 115.8 kB / 0.7064 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.2271, allocations: 200 kB / 0.7066 GB, free: 10.78 MB / 0.6043 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.001333/0.2284, allocations: 1.325 MB / 0.7079 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.2287, allocations: 437 kB / 0.7083 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.2308, allocations: 1.701 MB / 0.71 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2309, allocations: 8 kB / 0.71 GB, free: 7.273 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2309, allocations: 0 / 0.71 GB, free: 7.273 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2309, allocations: 3.984 kB / 0.71 GB, free: 7.27 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/0.2344, allocations: 3.099 MB / 0.713 GB, free: 4.129 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2344, allocations: 0 / 0.713 GB, free: 4.129 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.2348, allocations: 223.8 kB / 0.7132 GB, free: 3.91 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.2349, allocations: 4 kB / 0.7132 GB, free: 3.906 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.2349, allocations: 35.98 kB / 0.7132 GB, free: 3.871 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.2349, allocations: 7.938 kB / 0.7133 GB, free: 3.863 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2349, allocations: 0 / 0.7133 GB, free: 3.863 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.2369, allocations: 1.827 MB / 0.715 GB, free: 2.016 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007055/0.2376, allocations: 0.6479 MB / 0.7157 GB, free: 1.355 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.2377, allocations: 19.95 kB / 0.7157 GB, free: 1.336 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.2382, allocations: 52.27 kB / 0.7157 GB, free: 1.285 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.2383, allocations: 80.81 kB / 0.7158 GB, free: 1.207 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/0.2384, allocations: 87.98 kB / 0.7159 GB, free: 1.121 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.003178/0.2416, allocations: 3.586 MB / 0.7194 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2416, allocations: 0 / 0.7194 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.001329/0.2429, allocations: 0.6827 MB / 0.7201 GB, free: 12.87 MB / 0.6199 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.001312/0.2442, allocations: 0.9364 MB / 0.721 GB, free: 12.03 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.246, allocations: 1.576 MB / 0.7225 GB, free: 10.45 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.246, allocations: 0 / 0.7225 GB, free: 10.45 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.2465, allocations: 418.5 kB / 0.7229 GB, free: 10.05 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.2479, allocations: 440.7 kB / 0.7233 GB, free: 9.613 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009404/0.2573, allocations: 6.839 MB / 0.73 GB, free: 2.727 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/0.2596, allocations: 2.007 MB / 0.732 GB, free: 0.6914 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.002807/0.2625, allocations: 1.09 MB / 0.733 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007923/0.2632, allocations: 376.1 kB / 0.7334 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/0.2632, allocations: 0 / 0.7334 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.2878/0.5511, allocations: 31.97 MB / 0.7646 GB, free: 177.6 MB / 0.6512 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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.diff",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.058896474540234]