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.006307/0.006307, allocations: 1.446 MB / 20.54 MB, free: 4 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.0007004/0.0007004, allocations: 91.45 kB / 24.16 MB, free: 388 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.0008514/0.0008514, allocations: 159.6 kB / 27.85 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.8334/0.8334, allocations: 177.2 MB / 208.6 MB, free: 2.977 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.6795/0.6795, allocations: 102.5 MB / 367.9 MB, free: 1.465 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.192e-06/1.192e-06, allocations: 0 / 0.5367 GB, free: 39.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.883e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.8 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.1023/0.1023, allocations: 54.81 MB / 0.5902 GB, free: 5.246 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.1165, allocations: 17.67 MB / 0.6074 GB, free: 3.516 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.117, allocations: 27.88 kB / 0.6075 GB, free: 3.488 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.001499/0.1185, allocations: 0.8431 MB / 0.6083 GB, free: 2.641 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0009856/0.1195, allocations: 0.8076 MB / 0.6091 GB, free: 1.828 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.1232, allocations: 2.796 MB / 0.6118 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.1247, allocations: 2.26 MB / 0.614 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.1261, allocations: 1.901 MB / 0.6159 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.1274, allocations: 1.934 MB / 0.6178 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.1286, allocations: 1.843 MB / 0.6196 GB, free: 7 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004001/0.129, allocations: 0.5312 MB / 0.6201 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.1327, allocations: 3.437 MB / 0.6234 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.1338, allocations: 2.385 MB / 0.6258 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.1349, allocations: 1.758 MB / 0.6275 GB, free: 14.87 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.007319/0.1422, allocations: 11.13 MB / 0.6383 GB, free: 3.715 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1422, allocations: 0 / 0.6383 GB, free: 3.715 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1423, allocations: 0 / 0.6383 GB, free: 3.715 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.299e-05/0.1423, allocations: 0 / 0.6383 GB, free: 3.715 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.006612/0.1489, allocations: 6.48 MB / 0.6447 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1489, allocations: 12.03 kB / 0.6447 GB, free: 13.15 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009973/0.1499, allocations: 0.5874 MB / 0.6453 GB, free: 12.56 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007248/0.1572, allocations: 7.413 MB / 0.6525 GB, free: 5.051 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.1573, allocations: 150.4 kB / 0.6526 GB, free: 4.891 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.1575, allocations: 124.4 kB / 0.6528 GB, free: 4.77 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/0.1648, allocations: 10.92 MB / 0.6634 GB, free: 7.93 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.1648, allocations: 4 kB / 0.6634 GB, free: 7.926 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.165, allocations: 95.98 kB / 0.6635 GB, free: 7.832 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.1651, allocations: 174.9 kB / 0.6637 GB, free: 7.66 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009295/0.1744, allocations: 10.54 MB / 0.674 GB, free: 13.11 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.1848, allocations: 10.1 MB / 0.6838 GB, free: 2.852 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.1874, allocations: 1.424 MB / 0.6852 GB, free: 1.402 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.1879, allocations: 344.5 kB / 0.6856 GB, free: 1.059 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.188, allocations: 108.9 kB / 0.6857 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.188, allocations: 43.56 kB / 0.6857 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of pre-optimization done (n=92): time 2.285e-06/0.188, allocations: 4 kB / 0.6857 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of matching and sorting (n=93): time 0.006739/0.1948, allocations: 4.389 MB / 0.69 GB, free: 12.46 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.1949, allocations: 222.6 kB / 0.6902 GB, free: 12.2 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004106/0.199, allocations: 5.111 MB / 0.6952 GB, free: 7.094 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.199, allocations: 45.7 kB / 0.6952 GB, free: 7.043 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.2001, allocations: 2.009 MB / 0.6972 GB, free: 5.02 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.2002, allocations: 353.1 kB / 0.6975 GB, free: 4.672 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005089/0.2007, allocations: 0.5184 MB / 0.698 GB, free: 4.145 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.2008, allocations: 305.1 kB / 0.6983 GB, free: 3.844 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.2018, allocations: 0.8744 MB / 0.6992 GB, free: 2.969 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.2031, allocations: 1.657 MB / 0.7008 GB, free: 0.9961 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.2051, allocations: 2.081 MB / 0.7028 GB, free: 14.64 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.2051, allocations: 4 kB / 0.7028 GB, free: 14.64 MB / 0.6043 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.00307/0.2082, allocations: 2.888 MB / 0.7057 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2082, allocations: 16 kB / 0.7057 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.2082, allocations: 20 kB / 0.7057 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.2082, allocations: 28 kB / 0.7057 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/0.2092, allocations: 0.519 MB / 0.7062 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.2092, allocations: 43.84 kB / 0.7063 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.2101, allocations: 119.8 kB / 0.7064 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.2103, allocations: 196.3 kB / 0.7066 GB, free: 10.81 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.0011/0.2114, allocations: 1.332 MB / 0.7079 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.2118, allocations: 433 kB / 0.7083 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.2138, allocations: 1.701 MB / 0.71 GB, free: 7.309 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2139, allocations: 8 kB / 0.71 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2139, allocations: 4 kB / 0.71 GB, free: 7.297 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2139, allocations: 3.984 kB / 0.71 GB, free: 7.293 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.2172, allocations: 3.095 MB / 0.713 GB, free: 4.156 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2172, allocations: 4 kB / 0.713 GB, free: 4.152 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.2176, allocations: 223.8 kB / 0.7132 GB, free: 3.934 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2176, allocations: 4 kB / 0.7132 GB, free: 3.93 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.2177, allocations: 35.98 kB / 0.7132 GB, free: 3.895 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2177, allocations: 7.938 kB / 0.7133 GB, free: 3.887 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2177, allocations: 0 / 0.7133 GB, free: 3.887 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.2196, allocations: 1.827 MB / 0.715 GB, free: 2.039 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.2204, allocations: 0.6518 MB / 0.7157 GB, free: 1.375 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.2206, allocations: 23.95 kB / 0.7157 GB, free: 1.352 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.221, allocations: 47.94 kB / 0.7157 GB, free: 1.305 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2212, allocations: 80.81 kB / 0.7158 GB, free: 1.227 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.2212, allocations: 79.98 kB / 0.7159 GB, free: 1.148 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.002852/0.2241, allocations: 3.586 MB / 0.7194 GB, free: 13.57 MB / 0.6199 GB Notification: Performance of sort global known variables: time 7e-08/0.2241, allocations: 0 / 0.7194 GB, free: 13.57 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.001111/0.2252, allocations: 0.6827 MB / 0.7201 GB, free: 12.89 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.001151/0.2263, allocations: 0.9451 MB / 0.721 GB, free: 12.05 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.2282, allocations: 1.571 MB / 0.7225 GB, free: 10.48 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2282, allocations: 0 / 0.7225 GB, free: 10.48 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.2287, allocations: 427.4 kB / 0.7229 GB, free: 10.06 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.2297, allocations: 433.5 kB / 0.7233 GB, free: 9.637 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.2357, allocations: 6.835 MB / 0.73 GB, free: 2.754 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.2373, allocations: 2.003 MB / 0.732 GB, free: 0.7227 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.001671/0.239, allocations: 1.09 MB / 0.733 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/0.2395, allocations: 376 kB / 0.7334 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.2395, allocations: 4 kB / 0.7334 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.2345/0.474, allocations: 31.98 MB / 0.7646 GB, free: 177.5 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: 4.894257882609963]