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.01363/0.01363, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.000837/0.000837, allocations: 86.89 kB / 25.62 MB, free: 6.535 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.0008485/0.0008485, allocations: 166.6 kB / 29.46 MB, free: 3.035 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.8791/0.8791, allocations: 177.1 MB / 210.3 MB, free: 1.758 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.7137/0.7137, allocations: 102.5 MB / 369.8 MB, free: 0.9727 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.243e-06/1.243e-06, allocations: 0 / 469.9 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.939e-05, allocations: 2.312 kB / 469.9 MB, free: 13.02 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.1044/0.1044, allocations: 57.93 MB / 0.5154 GB, free: 3.039 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.1946/0.299, allocations: 18.89 MB / 0.5339 GB, free: 68.61 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005725/0.2996, allocations: 30.81 kB / 0.5339 GB, free: 68.6 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.001443/0.3011, allocations: 0.8493 MB / 0.5347 GB, free: 68.2 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0009472/0.302, allocations: 0.8123 MB / 0.5355 GB, free: 67.71 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.3056, allocations: 2.783 MB / 0.5383 GB, free: 66.29 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.307, allocations: 2.249 MB / 0.5405 GB, free: 65.21 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.3084, allocations: 1.975 MB / 0.5424 GB, free: 64.03 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.31, allocations: 1.937 MB / 0.5443 GB, free: 63.12 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.3116, allocations: 1.791 MB / 0.546 GB, free: 62.41 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000965/0.3126, allocations: 0.5294 MB / 0.5465 GB, free: 62.41 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/0.3169, allocations: 3.437 MB / 0.5499 GB, free: 61.4 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.3185, allocations: 2.385 MB / 0.5522 GB, free: 60.26 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002466/0.3209, allocations: 1.753 MB / 0.5539 GB, free: 59.28 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008845/0.3298, allocations: 8.178 MB / 0.5619 GB, free: 56.03 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3298, allocations: 1.188 kB / 0.5619 GB, free: 56.03 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3298, allocations: 0 / 0.5619 GB, free: 56.03 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001249/0.3299, allocations: 0 / 0.5619 GB, free: 56.03 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.008778/0.3387, allocations: 6.753 MB / 0.5685 GB, free: 51.47 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3387, allocations: 10.12 kB / 0.5685 GB, free: 51.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.3401, allocations: 0.6826 MB / 0.5692 GB, free: 51.12 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006128/0.3462, allocations: 6.267 MB / 0.5753 GB, free: 46.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/0.3463, allocations: 146.4 kB / 0.5755 GB, free: 46.14 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.3465, allocations: 223 kB / 0.5757 GB, free: 45.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004829/0.3514, allocations: 9.245 MB / 0.5847 GB, free: 34.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.3514, allocations: 3.938 kB / 0.5847 GB, free: 34.51 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.3516, allocations: 91.52 kB / 0.5848 GB, free: 34.43 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.3517, allocations: 186.9 kB / 0.585 GB, free: 34.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005019/0.3567, allocations: 3.568 MB / 0.5885 GB, free: 30.67 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008701/0.3654, allocations: 9.335 MB / 0.5976 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.3677, allocations: 1.416 MB / 0.599 GB, free: 19.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.3679, allocations: 195.9 kB / 0.5991 GB, free: 19.61 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.368, allocations: 116.9 kB / 0.5993 GB, free: 19.49 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.368, allocations: 46.39 kB / 0.5993 GB, free: 19.44 MB / 490.8 MB Notification: Performance of pre-optimization done (n=92): time 2.424e-06/0.3681, allocations: 0 / 0.5993 GB, free: 19.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=93): time 0.005572/0.3736, allocations: 3.814 MB / 0.603 GB, free: 15.58 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3737, allocations: 218.6 kB / 0.6032 GB, free: 15.32 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003392/0.3771, allocations: 4.378 MB / 0.6075 GB, free: 10.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3771, allocations: 41.7 kB / 0.6075 GB, free: 10.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.3781, allocations: 2.302 MB / 0.6098 GB, free: 8.586 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3782, allocations: 353.1 kB / 0.6101 GB, free: 8.238 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.3787, allocations: 0.5162 MB / 0.6106 GB, free: 7.715 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.3787, allocations: 484.7 kB / 0.6111 GB, free: 7.238 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.3792, allocations: 275.8 kB / 0.6114 GB, free: 6.969 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.3799, allocations: 1.311 MB / 0.6126 GB, free: 5.238 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.381, allocations: 1.468 MB / 0.6141 GB, free: 3.43 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.381, allocations: 8 kB / 0.6141 GB, free: 3.422 MB / 490.8 MB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002025/0.3831, allocations: 1.777 MB / 0.6158 GB, free: 1.652 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3831, allocations: 12 kB / 0.6158 GB, free: 1.641 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.3831, allocations: 20 kB / 0.6158 GB, free: 1.621 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3831, allocations: 32 kB / 0.6159 GB, free: 1.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009478/0.3841, allocations: 0.5019 MB / 0.6164 GB, free: 1.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.3841, allocations: 39.86 kB / 0.6164 GB, free: 1.051 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/0.385, allocations: 97.8 kB / 0.6165 GB, free: 0.9609 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.3852, allocations: 200 kB / 0.6167 GB, free: 0.7656 MB / 490.8 MB 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.0004338/0.3856, allocations: 279.8 kB / 0.617 GB, free: 492 kB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.3859, allocations: 461.1 kB / 0.6174 GB, free: 28 kB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.3877, allocations: 1.348 MB / 0.6187 GB, free: 14.75 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3877, allocations: 8 kB / 0.6187 GB, free: 14.74 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3877, allocations: 4.594 kB / 0.6187 GB, free: 14.74 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3877, allocations: 3.984 kB / 0.6187 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.3913, allocations: 3.312 MB / 0.622 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3913, allocations: 3.938 kB / 0.622 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.3918, allocations: 206.4 kB / 0.6222 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3918, allocations: 4 kB / 0.6222 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.3918, allocations: 39.97 kB / 0.6222 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3918, allocations: 7.938 kB / 0.6222 GB, free: 11.13 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3918, allocations: 3.281 kB / 0.6222 GB, free: 11.13 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.3933, allocations: 1.333 MB / 0.6235 GB, free: 9.773 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/0.3939, allocations: 0.6712 MB / 0.6242 GB, free: 9.094 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.3942, allocations: 19.95 kB / 0.6242 GB, free: 9.074 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.3946, allocations: 38.59 kB / 0.6242 GB, free: 9.039 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.3947, allocations: 76.88 kB / 0.6243 GB, free: 8.961 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.3948, allocations: 92.42 kB / 0.6244 GB, free: 8.871 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002537/0.3974, allocations: 2.356 MB / 0.6267 GB, free: 6.531 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3974, allocations: 0 / 0.6267 GB, free: 6.531 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001396/0.3987, allocations: 0.6789 MB / 0.6274 GB, free: 5.852 MB / 0.4949 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.001645/0.4004, allocations: 1.001 MB / 0.6283 GB, free: 5.316 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.4017, allocations: 0.8914 MB / 0.6292 GB, free: 4.434 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4017, allocations: 2.688 kB / 0.6292 GB, free: 4.434 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.402, allocations: 295.3 kB / 0.6295 GB, free: 4.141 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.4032, allocations: 0.5319 MB / 0.63 GB, free: 3.641 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/0.4096, allocations: 5.674 MB / 0.6355 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/0.4103, allocations: 0.8639 MB / 0.6364 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001708/0.412, allocations: 0.9793 MB / 0.6373 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/0.4126, allocations: 366.8 kB / 0.6377 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of SimCode: time 9.41e-07/0.4126, allocations: 0 / 0.6377 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.03861/0.4513, allocations: 32.09 MB / 0.669 GB, free: 13.03 MB / 0.5418 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: 4.775145628955215]