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.008523/0.008523, 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.0008074/0.0008074, allocations: 91.08 kB / 25.15 MB, free: 7.465 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.001286/0.001286, allocations: 162.2 kB / 29.06 MB, free: 3.656 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.9937/0.9937, allocations: 177.2 MB / 210 MB, free: 3.551 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.6274/0.6274, allocations: 102.4 MB / 369.5 MB, free: 336 kB / 330.7 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.934e-06/1.934e-06, allocations: 0 / 469.9 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.037e-05, allocations: 4.422 kB / 469.9 MB, free: 19 MB / 410.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.1364/0.1364, allocations: 58 MB / 0.5156 GB, free: 13.94 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01939/0.1558, allocations: 18.94 MB / 0.5341 GB, free: 10.95 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000975/0.1568, allocations: 31.88 kB / 0.5341 GB, free: 10.91 MB / 458.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.001923/0.1587, allocations: 0.847 MB / 0.5349 GB, free: 10.06 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.1602, allocations: 0.8076 MB / 0.5357 GB, free: 9.25 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.1655, allocations: 2.796 MB / 0.5384 GB, free: 6.441 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.1679, allocations: 2.263 MB / 0.5406 GB, free: 4.176 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.1698, allocations: 1.977 MB / 0.5426 GB, free: 2.141 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.172, allocations: 1.942 MB / 0.5445 GB, free: 200 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.174, allocations: 1.788 MB / 0.5462 GB, free: 14.41 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.1751, allocations: 0.5273 MB / 0.5467 GB, free: 13.88 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005644/0.1808, allocations: 3.441 MB / 0.5501 GB, free: 10.43 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.1828, allocations: 2.385 MB / 0.5524 GB, free: 8.039 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002552/0.1854, allocations: 1.758 MB / 0.5541 GB, free: 6.277 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.202, allocations: 8.175 MB / 0.5621 GB, free: 14.08 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.202, allocations: 4 kB / 0.5621 GB, free: 14.07 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.202, allocations: 0 / 0.5621 GB, free: 14.07 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001382/0.2021, allocations: 0 / 0.5621 GB, free: 14.07 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.01133/0.2134, allocations: 6.753 MB / 0.5687 GB, free: 7.242 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.2135, allocations: 8.031 kB / 0.5687 GB, free: 7.234 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.2153, allocations: 0.6812 MB / 0.5694 GB, free: 6.551 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009764/0.225, allocations: 6.289 MB / 0.5755 GB, free: 164 kB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.2252, allocations: 150.4 kB / 0.5757 GB, free: 0 / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/0.2256, allocations: 216.4 kB / 0.5759 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008348/0.2339, allocations: 9.252 MB / 0.5849 GB, free: 4.367 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.2339, allocations: 7.938 kB / 0.5849 GB, free: 4.359 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.2342, allocations: 88 kB / 0.585 GB, free: 4.273 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.2343, allocations: 174.9 kB / 0.5852 GB, free: 4.102 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.2449, allocations: 3.577 MB / 0.5887 GB, free: 0.5156 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.2589, allocations: 9.332 MB / 0.5978 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.2617, allocations: 1.414 MB / 0.5992 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.262, allocations: 190.3 kB / 0.5993 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.2622, allocations: 116.9 kB / 0.5995 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.2622, allocations: 50.38 kB / 0.5995 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=92): time 4.95e-06/0.2622, allocations: 0 / 0.5995 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93): time 0.007532/0.2697, allocations: 3.809 MB / 0.6032 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.2698, allocations: 218.6 kB / 0.6034 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004847/0.2747, allocations: 4.376 MB / 0.6077 GB, free: 12.69 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.2748, allocations: 41.7 kB / 0.6077 GB, free: 12.64 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.2762, allocations: 2.305 MB / 0.61 GB, free: 10.33 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.2764, allocations: 357.1 kB / 0.6103 GB, free: 9.977 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005971/0.277, allocations: 0.5201 MB / 0.6108 GB, free: 9.445 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2771, allocations: 484.7 kB / 0.6113 GB, free: 8.969 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.2777, allocations: 275.8 kB / 0.6116 GB, free: 8.699 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.2788, allocations: 1.297 MB / 0.6128 GB, free: 6.984 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.2802, allocations: 1.477 MB / 0.6143 GB, free: 5.137 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.2802, allocations: 4 kB / 0.6143 GB, free: 5.133 MB / 0.5262 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002645/0.2829, allocations: 1.776 MB / 0.616 GB, free: 3.348 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.2829, allocations: 18.03 kB / 0.616 GB, free: 3.332 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.2829, allocations: 20 kB / 0.6161 GB, free: 3.312 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/0.283, allocations: 28 kB / 0.6161 GB, free: 3.285 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.2841, allocations: 0.5073 MB / 0.6166 GB, free: 2.777 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.12e-05/0.2841, allocations: 43.86 kB / 0.6166 GB, free: 2.734 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.2853, allocations: 95.91 kB / 0.6167 GB, free: 2.641 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.2855, allocations: 200 kB / 0.6169 GB, free: 2.445 MB / 0.5262 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.0006866/0.2862, allocations: 279.8 kB / 0.6172 GB, free: 2.16 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004587/0.2867, allocations: 461 kB / 0.6176 GB, free: 1.707 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.2886, allocations: 1.342 MB / 0.6189 GB, free: 340 kB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.2886, allocations: 8 kB / 0.6189 GB, free: 332 kB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2886, allocations: 4.312 kB / 0.6189 GB, free: 328 kB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2886, allocations: 3.984 kB / 0.6189 GB, free: 324 kB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/0.293, allocations: 3.312 MB / 0.6222 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.293, allocations: 3.938 kB / 0.6222 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.2934, allocations: 211.8 kB / 0.6224 GB, free: 12.74 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.2934, allocations: 7.984 kB / 0.6224 GB, free: 12.73 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.2935, allocations: 31.98 kB / 0.6224 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2935, allocations: 4 kB / 0.6224 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2935, allocations: 4 kB / 0.6224 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.2952, allocations: 1.335 MB / 0.6237 GB, free: 11.34 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/0.2961, allocations: 0.6752 MB / 0.6244 GB, free: 10.65 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.2964, allocations: 16 kB / 0.6244 GB, free: 10.64 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.2969, allocations: 39.97 kB / 0.6244 GB, free: 10.6 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.2971, allocations: 80.81 kB / 0.6245 GB, free: 10.52 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.2971, allocations: 79.98 kB / 0.6246 GB, free: 10.44 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.002909/0.3, allocations: 2.36 MB / 0.6269 GB, free: 8.098 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3, allocations: 0 / 0.6269 GB, free: 8.098 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.001653/0.3017, allocations: 0.675 MB / 0.6275 GB, free: 7.422 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.001708/0.3034, allocations: 0.997 MB / 0.6285 GB, free: 6.547 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.3049, allocations: 0.8935 MB / 0.6294 GB, free: 5.66 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3049, allocations: 0 / 0.6294 GB, free: 5.66 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.3053, allocations: 295.9 kB / 0.6297 GB, free: 5.363 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.3066, allocations: 0.5283 MB / 0.6302 GB, free: 4.832 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007286/0.3139, allocations: 5.701 MB / 0.6358 GB, free: 15.06 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.3146, allocations: 0.8523 MB / 0.6366 GB, free: 14.18 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.002082/0.3167, allocations: 0.9803 MB / 0.6375 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/0.3174, allocations: 368.2 kB / 0.6379 GB, free: 12.83 MB / 0.5574 GB Notification: Performance of SimCode: time 1.943e-06/0.3174, allocations: 0 / 0.6379 GB, free: 12.83 MB / 0.5574 GB Notification: Performance of Templates: time 0.2384/0.5559, allocations: 32.07 MB / 0.6692 GB, free: 117.3 MB / 0.5574 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.297561500221491]