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.01339/0.01339, 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.0008233/0.0008233, allocations: 80.47 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.003951/0.003951, allocations: 168.6 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 1.063/1.063, allocations: 177.2 MB / 211.1 MB, free: 3.477 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.6227/0.6227, allocations: 102.4 MB / 370.6 MB, free: 172 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.283e-06/1.283e-06, allocations: 0 / 471.2 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.38e-05, allocations: 3.984 kB / 471.2 MB, free: 18.84 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.1058/0.1058, allocations: 57.86 MB / 0.5167 GB, free: 13.81 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.1236, allocations: 18.75 MB / 0.535 GB, free: 11 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006466/0.1242, allocations: 31.88 kB / 0.535 GB, free: 10.97 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.001711/0.1259, allocations: 0.8509 MB / 0.5359 GB, free: 10.12 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.1271, allocations: 0.8269 MB / 0.5367 GB, free: 9.285 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004395/0.1314, allocations: 2.796 MB / 0.5394 GB, free: 6.477 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.133, allocations: 2.245 MB / 0.5416 GB, free: 4.227 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.1345, allocations: 1.985 MB / 0.5435 GB, free: 2.184 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1306/0.2652, allocations: 54.36 MB / 0.5966 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.2667, allocations: 1.754 MB / 0.5983 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003845/0.267, allocations: 496 kB / 0.5988 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.272, allocations: 3.262 MB / 0.602 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.2732, allocations: 2.225 MB / 0.6041 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.2743, allocations: 1.653 MB / 0.6058 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006506/0.2808, allocations: 7.89 MB / 0.6135 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2808, allocations: 4 kB / 0.6135 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2808, allocations: 3.938 kB / 0.6135 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.686e-05/0.2808, allocations: 0 / 0.6135 GB, free: 11.59 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.005977/0.2868, allocations: 6.4 MB / 0.6197 GB, free: 5.105 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2868, allocations: 12.03 kB / 0.6197 GB, free: 5.094 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000704/0.2875, allocations: 0.611 MB / 0.6203 GB, free: 4.48 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/0.2917, allocations: 4.071 MB / 0.6243 GB, free: 312 kB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.2918, allocations: 142.4 kB / 0.6244 GB, free: 156 kB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.2921, allocations: 216.4 kB / 0.6247 GB, free: 15.94 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006139/0.2982, allocations: 9.025 MB / 0.6335 GB, free: 4.746 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.2982, allocations: 11.94 kB / 0.6335 GB, free: 4.734 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.2984, allocations: 84 kB / 0.6336 GB, free: 4.652 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.2985, allocations: 174.9 kB / 0.6337 GB, free: 4.48 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004495/0.303, allocations: 3.017 MB / 0.6367 GB, free: 1.449 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00973/0.3128, allocations: 8.798 MB / 0.6453 GB, free: 8.473 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.315, allocations: 1.371 MB / 0.6466 GB, free: 7.074 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.3152, allocations: 170.3 kB / 0.6468 GB, free: 6.902 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.3154, allocations: 112.9 kB / 0.6469 GB, free: 6.793 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3154, allocations: 71.39 kB / 0.6469 GB, free: 6.715 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=92): time 2.645e-06/0.3154, allocations: 4 kB / 0.6469 GB, free: 6.711 MB / 0.5574 GB Notification: Performance of matching and sorting (n=93): time 0.005477/0.3209, allocations: 2.469 MB / 0.6494 GB, free: 4.199 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006909/0.3216, allocations: 2.634 MB / 0.6519 GB, free: 0.9336 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.229/0.5506, allocations: 4.631 MB / 0.6564 GB, free: 124.9 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/0.5509, allocations: 58.2 kB / 0.6565 GB, free: 124.9 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.5522, allocations: 2.347 MB / 0.6588 GB, free: 124.8 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5524, allocations: 353.8 kB / 0.6591 GB, free: 124.6 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005653/0.5529, allocations: 0.5987 MB / 0.6597 GB, free: 124.6 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.553, allocations: 483.1 kB / 0.6602 GB, free: 124.1 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.5533, allocations: 218.2 kB / 0.6604 GB, free: 124.1 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.5546, allocations: 4.509 MB / 0.6648 GB, free: 118.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/0.5556, allocations: 1.418 MB / 0.6662 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.5556, allocations: 5.844 kB / 0.6662 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002005/0.5576, allocations: 1.671 MB / 0.6678 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5576, allocations: 14.19 kB / 0.6678 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.5576, allocations: 21.5 kB / 0.6678 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.5576, allocations: 31.72 kB / 0.6679 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009782/0.5586, allocations: 0.496 MB / 0.6684 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.5586, allocations: 39.16 kB / 0.6684 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5599, allocations: 108.7 kB / 0.6685 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.5601, allocations: 182.2 kB / 0.6687 GB, free: 117.4 MB / 0.5574 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.0005121/0.5606, allocations: 333.4 kB / 0.669 GB, free: 117.2 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/0.561, allocations: 485.8 kB / 0.6695 GB, free: 117 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.5625, allocations: 1.299 MB / 0.6707 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5625, allocations: 11.59 kB / 0.6707 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5625, allocations: 0 / 0.6707 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.5625, allocations: 4.688 kB / 0.6707 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.5661, allocations: 3.224 MB / 0.6739 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5661, allocations: 0 / 0.6739 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.5666, allocations: 216.5 kB / 0.6741 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.5666, allocations: 6.344 kB / 0.6741 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.5666, allocations: 33.42 kB / 0.6741 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5666, allocations: 4.594 kB / 0.6741 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5666, allocations: 2.625 kB / 0.6741 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.5679, allocations: 1.273 MB / 0.6754 GB, free: 116 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007589/0.5687, allocations: 0.7988 MB / 0.6762 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.569, allocations: 39.36 kB / 0.6762 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/0.5697, allocations: 61.58 kB / 0.6763 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5699, allocations: 75.2 kB / 0.6763 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.5699, allocations: 82.97 kB / 0.6764 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002191/0.5721, allocations: 2.503 MB / 0.6789 GB, free: 115.5 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7e-08/0.5721, allocations: 1.203 kB / 0.6789 GB, free: 115.5 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001611/0.5737, allocations: 0.8728 MB / 0.6797 GB, free: 115.5 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.001479/0.5752, allocations: 0.9023 MB / 0.6806 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.5763, allocations: 0.8503 MB / 0.6814 GB, free: 115.3 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.5763, allocations: 7.156 kB / 0.6814 GB, free: 115.3 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.5766, allocations: 270.6 kB / 0.6817 GB, free: 115.3 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5778, allocations: 0.5812 MB / 0.6823 GB, free: 115.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006178/0.584, allocations: 5.719 MB / 0.6878 GB, free: 112.7 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.5847, allocations: 0.8639 MB / 0.6887 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001789/0.5865, allocations: 0.8603 MB / 0.6895 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/0.5887, allocations: 1.122 MB / 0.6906 GB, free: 112.2 MB / 0.5574 GB Notification: Performance of SimCode: time 1.363e-06/0.5887, allocations: 1.344 kB / 0.6906 GB, free: 112.2 MB / 0.5574 GB Notification: Performance of Templates: time 0.05518/0.6438, allocations: 57.35 MB / 0.7466 GB, free: 73.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.789510046131909]